From bcfe7d0f6c9b122d05bb8cf93fb45b61249b0d3f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 10 Sep 2024 21:55:53 -0700 Subject: [PATCH] macos: update comment on why we don't start updater --- macos/Sources/App/macOS/AppDelegate.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macos/Sources/App/macOS/AppDelegate.swift b/macos/Sources/App/macOS/AppDelegate.swift index 2f311a415..01031c9a5 100644 --- a/macos/Sources/App/macOS/AppDelegate.swift +++ b/macos/Sources/App/macOS/AppDelegate.swift @@ -75,6 +75,9 @@ class AppDelegate: NSObject, override init() { terminalManager = TerminalManager(ghostty) updaterController = SPUStandardUpdaterController( + // Important: we must not start the updater here because we need to read our configuration + // first to determine whether we're automatically checking, downloading, etc. The updater + // is started later in applicationDidFinishLaunching startingUpdater: false, updaterDelegate: updaterDelegate, userDriverDelegate: nil