Merge pull request #607 from wes-davis/fix/launch-at-login-persistence

fix Mac app Launch at Login
This commit is contained in:
Peter Steinberger
2026-01-09 20:55:26 +00:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
## Unreleased
- macOS: avoid clearing Launch at Login during app initialization. (#607) — thanks @wes-davis
- macOS: add node bridge heartbeat pings to detect half-open sockets and reconnect cleanly. (#572) — thanks @ngutman
- Node bridge: harden keepalive + heartbeat handling (TCP keepalive, better disconnects, and keepalive config tests). (#577) — thanks @steipete
- Control UI: improve mobile responsiveness. (#558) — thanks @carlulsoe

View File

@@ -29,7 +29,10 @@ final class AppState {
}
var launchAtLogin: Bool {
didSet { self.ifNotPreview { Task { AppStateStore.updateLaunchAtLogin(enabled: self.launchAtLogin) } } }
didSet {
guard !self.isInitializing else { return }
self.ifNotPreview { Task { AppStateStore.updateLaunchAtLogin(enabled: self.launchAtLogin) } }
}
}
var onboardingSeen: Bool {