revert: 去掉 egui 窗口,界面继续用 Slint

This commit is contained in:
2026-11-19 16:27:07 +08:00
parent 65a35ed19b
commit 46a7b0a1ae
4 changed files with 6 additions and 611 deletions
+1 -4
View File
@@ -5,12 +5,9 @@
```powershell
cargo run
cargo run --bin punchlog-ui
cargo run --bin punchlog-egui --features egui
cargo run --bin extract-device -- --write
```
`punchlog-ui` 是 Slint 窗口,`punchlog-egui` 是同一份最近一周数据的 egui 窗口。
第二条需要手机打开 USB 调试并具有 root,用来把当前 iCenter 的版本和设备身份写回 `.env`。
`punchlog-ui` 打开最近一周的列表窗口。`extract-device --write` 需要手机打开 USB 调试并具有 root,用来把当前 iCenter 的版本和设备身份写回 `.env`。
账号、密码、token、项目和设备身份放在项目根目录的 `.env`,参考 `.env.example`。token 失效时会用账号密码重新登录。