Skip to content

Commit

Permalink
Fixes issue with v0.1.2.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
EndArixx committed Jun 26, 2024
1 parent 639fb01 commit 0084c00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MasterControlProgram.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


VERSION = "v0.1.2"
EXE_NAME = "Imparean Solutions"
PROGRAM_NAME = "Imparean Solutions"
PRIMARY_TEXT_COLOR = "black"
PRIMARY_COLOR = "MediumSpringGreen"
INPUT_COLOR = "white"
Expand Down Expand Up @@ -59,7 +59,7 @@ def menu_zone(frame, root):

label = tk.Label(
frame,
text=f"{EXE_NAME} - {VERSION}",
text=f"{PROGRAM_NAME} - {VERSION}",
foreground=PRIMARY_COLOR,
background=PRIMARY_TEXT_COLOR,
font=HEADER_FONT,
Expand Down Expand Up @@ -272,7 +272,7 @@ def run_thread():
"MasterControlProgram.py",
"--onefile",
"--icon=data/mcp.ico",
f"--name={EXE_NAME} {VERSION}",
f"--name={PROGRAM_NAME} {VERSION}",
]
)
tk.messagebox.showinfo(title="Complete", message="Executable Created")
Expand Down Expand Up @@ -301,7 +301,7 @@ def run_thread():
font=TEXT_FONT,
)
create_exe_button.grid(row=0, column=1, sticky="w", padx=PADDING, pady=PADDING)
if not settings.in_debug_Mode or EXE_NAME in sys.executable:
if not settings.in_debug_Mode or "\python.exe" not in sys.executable:
create_exe_button.grid_remove()

warning_label = tk.Label(
Expand Down
Binary file modified dist/Imparean Solutions v0.1.2.exe
Binary file not shown.

0 comments on commit 0084c00

Please sign in to comment.