refactor: Fix macOS standalone application

This commit is contained in:
世界
2026-01-05 01:21:24 +08:00
parent ef1c924c64
commit 59317f3c79
66 changed files with 2799 additions and 585 deletions
@@ -86,9 +86,11 @@ public class LogDataModel: ObservableObject {
lastProcessedLogCount = 0
lastEffectiveLevel = nil
lastSearchText = ""
filteredLogs = []
visibleLogs = []
commandClient.clearLogs()
Task.detached {
let client = LibboxNewStandaloneCommandClient()
try? client?.clearLogs()
try? LibboxNewStandaloneCommandClient()!.clearLogs()
}
}