This commit is contained in:
Leopere 2026-02-10 14:20:31 -05:00
parent e57e27043c
commit 1efb4f7485
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
1 changed files with 4 additions and 1 deletions

View File

@ -51,7 +51,10 @@ enum AutoUpdater {
}
try? "local\n0".write(toFile: pendingStatePath, atomically: true, encoding: .utf8)
spawnSwapAndRelaunch()
DispatchQueue.main.async { NSApp.terminate(nil) }
DispatchQueue.main.async {
showAlert(title: "Update complete", message: "Reinstalled from remote. Restarting now.")
NSApp.terminate(nil)
}
}
private static func stageFromDMG() -> Bool {