This commit is contained in:
2025-08-21 15:33:28 +08:00
parent eb20c59347
commit ae06d32d02
4 changed files with 8 additions and 12 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,6 @@
/.idea/*
/data.db
/.old/*
/cash/*
cyzg.exe
embedded.h

View File

@@ -1,11 +0,0 @@
cmake_minimum_required(VERSION 4.0)
project(cyzg C)
set(CMAKE_C_STANDARD 11)
add_executable(cyzg main.c)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os -DNDEBUG")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Os -DNDEBUG")

4
build.bat Normal file
View File

@@ -0,0 +1,4 @@
python embed.py
7z a -tzip -mx=9 cyzg.zip main.py backend.py ./components/*.py
REM 7z a -tzip -mx=9 data.db.zip data.db
gcc -O2 -s main.c -o cyzg.exe -Wl,--gc-sections -Wl,--strip-all

BIN
cyzg.zip Normal file

Binary file not shown.