fix: skip launchd for remote mode

This commit is contained in:
Peter Steinberger
2026-01-18 08:34:57 +00:00
parent c6e7e1821b
commit d776cfb4e1
4 changed files with 34 additions and 1 deletions

View File

@@ -114,6 +114,9 @@ final class GatewayProcessManager {
self.lastFailureReason = nil
self.status = .stopped
self.logger.info("gateway stop requested")
if CommandResolver.connectionModeIsRemote() {
return
}
let bundlePath = Bundle.main.bundleURL.path
Task {
_ = await GatewayLaunchAgentManager.set(