Skip to content

Commit ade7dd3

Browse files
committed
Update build script
1 parent 0579aa6 commit ade7dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def pyinstall(cmd):
5353
# Build the binaries
5454
pyinstall("--onefile --clean -y --windowed -n standalone standalone.py")
5555
pyinstall("--onefile --clean -y --windowed --exclude-module PyInstaller --add-data dist/standalone.exe;. -n CardStock_Designer designer.py")
56-
os.remove("standalone.exe")
56+
os.remove("dist/standalone.exe")
5757
pyinstall("--onefile --clean -y --windowed -n CardStock_Viewer viewer.py")
5858

5959
# Build the package directory
@@ -79,7 +79,7 @@ def pyinstall(cmd):
7979
# Build the binaries
8080
pyinstall("--onefile --clean -y --windowed -n standalone standalone.py")
8181
pyinstall("--onefile --clean -y --windowed --exclude-module PyInstaller --add-data dist/standalone:. -n CardStock_Designer designer.py")
82-
os.remove("standalone")
82+
os.remove("dist/standalone")
8383
pyinstall("--onefile --clean -y --windowed -n CardStock_Viewer viewer.py")
8484

8585
# Build the package directory

0 commit comments

Comments
 (0)