Skip to content

Commit b2833c7

Browse files
committed
fix: build.py and rename pydeej.py
1 parent 13bd577 commit b2833c7

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

build.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,29 @@
77
system = platform.system()
88
if system == "Windows":
99
ext = ".exe"
10-
app_name = "deej.exe"
10+
app_name = "pydeej.exe"
1111
data_flag = "--add-data"
1212
data_sep = ";"
1313
elif system == "Darwin":
1414
ext = ".app"
15-
app_name = "deej"
15+
app_name = "pydeej"
1616
data_flag = "--add-data"
1717
data_sep = ":"
1818
else:
1919
ext = ""
20-
app_name = "deej"
20+
app_name = "pydeej"
2121
data_flag = "--add-data"
2222
data_sep = ":"
2323

2424
config_data = f"{spec_dir / 'config.yaml'}{data_sep}."
2525

2626
args = [
27-
str(spec_dir / "deej.py"),
27+
str(spec_dir / "pydeej.py"),
2828
f"--name={app_name}",
29-
"--onefile" if system != "Darwin" else "--onedir",
29+
"--onefile",
3030
"--console",
3131
f"{data_flag}={config_data}",
3232
"--hidden-import=comtypes",
33-
"--hidden-import=pyserial",
34-
"--hidden-import=pyyaml",
35-
"--hidden-import=pulsectl",
3633
f"--distpath={spec_dir}/dist",
3734
f"--workpath={spec_dir}/build",
3835
f"--specpath={spec_dir}",
File renamed without changes.

0 commit comments

Comments
 (0)