feat(menubar): 新增保持唤醒开关并统一底部透明按钮样式

This commit is contained in:
2026-10-30 16:10:51 +08:00
parent 7e9728899d
commit df0d338d72
7 changed files with 228 additions and 2 deletions
+11
View File
@@ -84,3 +84,14 @@ swiftc -module-cache-path /private/tmp/kymo-identity-cache kymo/Core/Services/Co
```
验证各自合法签名通过、对方身份要求拒绝及缺失代码降级;不替代主应用与 XPC 的实际端到端采样。方案与进程生命周期见 [辅助服务实施方案](../docs/disk-smart-helper-plan.md)。
## 保持唤醒实际断言检查
```bash
swiftc -module-cache-path /private/tmp/kymo-check-cache \
kymo/Core/Services/KeepAwakeService.swift kymoTests/KeepAwakeChecks.swift \
-o /private/tmp/kymo-awake-checks
/private/tmp/kymo-awake-checks
```
检查真实 IOKit 请求的创建、重复开关与生命周期释放;测试结束不保留唤醒断言。不能替代实际空闲锁屏、息屏及面板视觉验收。