refactor(menubar): 固定品牌图标并同步开发进度文档

This commit is contained in:
2026-11-02 21:55:10 +08:00
parent c411a8241f
commit 6479e78348
13 changed files with 122 additions and 119 deletions
-10
View File
@@ -1,10 +0,0 @@
enum MenuBarLabel {
static func title(for snapshot: MetricsSnapshot) -> String {
var items = ["CPU \(MetricFormat.percent(snapshot.cpu?.usage))"]
if let gpu = snapshot.gpuUsage {
items.append("GPU \(MetricFormat.percent(gpu))")
}
items.append("MEM \(MetricFormat.percent(snapshot.memory?.usage))")
return items.joined(separator: " · ")
}
}