2 Commits
v1.1 ... master

Author SHA1 Message Date
143ac47a15 update build 2025-08-22 15:18:14 +08:00
a97307f257 clean data 2025-08-22 10:43:00 +08:00
2 changed files with 11 additions and 1 deletions

View File

@@ -1,5 +1,15 @@
del cyzg.zip del cyzg.zip
7z a -tzip -mx=9 cyzg.zip main.py backend.py components/ -x!components/__pycache__/ 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
if /i "%~1"=="db" (
echo 正在压缩 data.db...
7z a -tzip -mx=9 data.db.zip data.db
) else (
echo use data.db.zip cash.
echo run `./build.bat db` to refresh cash
)
python embed.py python embed.py
gcc -Os -s main.c -o cyzg.exe -Wl,--gc-sections -Wl,--strip-all gcc -Os -s main.c -o cyzg.exe -Wl,--gc-sections -Wl,--strip-all
echo done

Binary file not shown.