mac: add attach-only gateway toggle

This commit is contained in:
Peter Steinberger
2025-12-10 11:31:16 +00:00
parent c4b02645f5
commit cce65e19e1
5 changed files with 31 additions and 0 deletions

View File

@@ -495,6 +495,10 @@ enum CommandResolver {
projectRoot: projectRoot)
}
static var attachExistingGatewayOnly: Bool {
UserDefaults.standard.bool(forKey: attachExistingGatewayOnlyKey)
}
static func connectionModeIsRemote() -> Bool {
self.connectionSettings().mode == .remote
}