feat: 关闭窗口后留在托盘,右键可显示或退出

This commit is contained in:
2026-11-19 17:32:08 +08:00
parent fe8d02f0f7
commit d0bd4166c7
6 changed files with 200 additions and 25 deletions
+1 -1
View File
@@ -8,6 +8,6 @@ cargo run --bin punchlog-ui
cargo run --bin extract-device -- --write
```
`punchlog-ui` 打开最近一周的列表窗口。`extract-device --write` 需要手机打开 USB 调试并具有 root,用来把当前 iCenter 的版本和设备身份写回 `.env`。
`punchlog-ui` 打开最近一周的列表窗口。关闭窗口后程序留在托盘,右键可以选择显示、隐藏或退出。`extract-device --write` 需要手机打开 USB 调试并具有 root,用来把当前 iCenter 的版本和设备身份写回 `.env`。
账号、密码、token、项目和设备身份放在项目根目录的 `.env`,参考 `.env.example`。token 失效时会用账号密码重新登录。