Skip to content

Commit

Permalink
Add build and packing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Satanarious committed Aug 20, 2023
1 parent 3c52ede commit f84094c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exe = EXE(
a.zipfiles,
a.datas,
[],
name='TranslucentFlyoutsConfig',
name='TranslucentFlyoutsConfig.exe',
debug=False,
bootloader_ignore_signals=False,
strip=False,
Expand Down
2 changes: 1 addition & 1 deletion build_exe.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyinstaller --onefile --clean --noconsole -n "TranslucentFlyoutsConfig" main.py
pyinstaller --onefile --clean --noconsole -n "TranslucentFlyoutsConfig.exe" main.py
5 changes: 5 additions & 0 deletions clean_and_pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rmdir /s /q %cd%\build
echo F|xcopy /i /q %cd%\dist\TranslucentFlyoutsConfig.exe %cd%\TranslucentFlyoutsConfig.exe
rmdir /s /q %cd%\dist
7z a TranslucentFlyoutsConfigV1.0.0-alpha2.zip -r Assets TranslucentFlyoutsConfig.exe user_settings.json defaults.json
del TranslucentFlyoutsConfig.exe

0 comments on commit f84094c

Please sign in to comment.