diff --git a/build.bat b/build.bat index 4a03af4..25d89c0 100644 --- a/build.bat +++ b/build.bat @@ -1,5 +1,5 @@ -python embed.py -7z a -tzip -mx=9 -aoa cyzg.zip main.py backend.py components/ -x!components/__pycache__/ +del cyzg.zip +7z a -tzip -mx=9 cyzg.zip main.py backend.py components/ -x!components/__pycache__/ REM 7z a -tzip -mx=9 data.db.zip data.db -timeout /t 1 >nul +python embed.py gcc -Os -s main.c -o cyzg.exe -Wl,--gc-sections -Wl,--strip-all