From 55dd8c04f120f0fe2b46eb99667fca9b214b5ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AD=90=E6=81=BA?= <1621362626@qq.com> Date: Thu, 21 Aug 2025 16:25:52 +0800 Subject: [PATCH] fix --- build.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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