Skip to content

Commit

Permalink
Prefer --onedir, faster launch time
Browse files Browse the repository at this point in the history
  • Loading branch information
HuyHung1408 committed May 21, 2022
1 parent fe858ec commit 70ca8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cd src
rmdir /s /q dist
pyinstaller main.py --onefile --windowed --collect-data sv_ttk --icon "icon.ico"
pyinstaller main.py --onedir --windowed --collect-data sv_ttk --icon "icon.ico"
del main.spec
xcopy icon.ico dist
cd dist
Expand Down

0 comments on commit 70ca8d9

Please sign in to comment.