This commit is contained in:
2025-08-21 16:20:47 +08:00
parent 4061eac83c
commit 1282e46138
2 changed files with 1 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
python embed.py
7z a -tzip -mx=9 cyzg.zip main.py backend.py ./components/*.py
7z a -tzip -mx=9 -aoa 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
gcc -Os -s main.c -o cyzg.exe -Wl,--gc-sections -Wl,--strip-all

View File

@@ -63,7 +63,6 @@ class Page1:
url = "https://v.zikai.wang/zikai/cyzg"
start_pos = instructions.find(url)
if start_pos != -1:
# 计算起始和结束索引tkinter 使用 "行.列" 格式)
start_index = f"1.0 + {start_pos} chars"
end_index = f"{start_index} + {len(url)} chars"