fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user