Change how agent launch/relaunch is performed (#737)

This commit is contained in:
Max Goedjen
2025-09-30 23:57:06 -07:00
committed by GitHub
parent 84d5a56fb0
commit d9a3f0c813
8 changed files with 89 additions and 134 deletions

View File

@@ -3,6 +3,7 @@ import SwiftUI
struct SetupView: View {
@Environment(\.dismiss) private var dismiss
@Environment(\.agentLaunchController) private var agentLaunchController
@Binding var setupComplete: Bool
@State var showingIntegrations = false
@@ -31,7 +32,7 @@ struct SetupView: View {
) {
installed = true
Task {
await LaunchAgentController().install()
try? await agentLaunchController.install()
}
}
}