Skip to content

Commit

Permalink
Update build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Aug 31, 2024
1 parent 8a75ef7 commit 473cec1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,27 @@ def install_requirements_in_venv():

def build_executable():
print("Building executable")
if getPlatform() == "win32":
command = [
#if getPlatform() == "win32":
command = [
python_path(),
"-m",
"PyInstaller",
"main.py",
"--collect-all",
"PySide6",
"--icon=icons/logo-v2.ico",
"--noconfirm",
"--noupx",
]
else:
"""else:
command = [
python_path(),
"-m",
"cx_Freeze",
"main.py",
"--target-dir",
"dist",
]
]"""
subprocess.run(command)


Expand Down

0 comments on commit 473cec1

Please sign in to comment.