From f84094c4d07856394c38d05d80c322463e954c55 Mon Sep 17 00:00:00 2001 From: Satanarious Date: Sun, 20 Aug 2023 20:35:10 +0530 Subject: [PATCH] Add build and packing scripts --- ...ntFlyoutsConfig.spec => TranslucentFlyoutsConfig.exe.spec | 2 +- build_exe.bat | 2 +- clean_and_pack.bat | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) rename TranslucentFlyoutsConfig.spec => TranslucentFlyoutsConfig.exe.spec (95%) create mode 100644 clean_and_pack.bat diff --git a/TranslucentFlyoutsConfig.spec b/TranslucentFlyoutsConfig.exe.spec similarity index 95% rename from TranslucentFlyoutsConfig.spec rename to TranslucentFlyoutsConfig.exe.spec index a1d7d80..fca5ebf 100644 --- a/TranslucentFlyoutsConfig.spec +++ b/TranslucentFlyoutsConfig.exe.spec @@ -28,7 +28,7 @@ exe = EXE( a.zipfiles, a.datas, [], - name='TranslucentFlyoutsConfig', + name='TranslucentFlyoutsConfig.exe', debug=False, bootloader_ignore_signals=False, strip=False, diff --git a/build_exe.bat b/build_exe.bat index 49f5747..2c09376 100644 --- a/build_exe.bat +++ b/build_exe.bat @@ -1 +1 @@ -pyinstaller --onefile --clean --noconsole -n "TranslucentFlyoutsConfig" main.py \ No newline at end of file +pyinstaller --onefile --clean --noconsole -n "TranslucentFlyoutsConfig.exe" main.py \ No newline at end of file diff --git a/clean_and_pack.bat b/clean_and_pack.bat new file mode 100644 index 0000000..8875796 --- /dev/null +++ b/clean_and_pack.bat @@ -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 \ No newline at end of file