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
+1 -5
View File
@@ -192,16 +192,12 @@ public struct MenuView: View {
environments.selectedProfileUpdate.send()
if profile.status.isConnected {
do {
try await serviceReload()
try await profile.reloadService()
} catch {
alert = AlertState(error: error)
}
}
reasserting = false
}
private nonisolated func serviceReload() async throws {
try LibboxNewStandaloneCommandClient()!.serviceReload()
}
}
}