Implement session persistence pass 1 with multi-window restore

This commit is contained in:
Lawrence Chen 2026-02-22 15:39:59 -08:00
parent 1809b06867
commit 927b0eb2d1
20 changed files with 3434 additions and 33 deletions

View file

@ -80,7 +80,9 @@ extension UpdateDriver: SPUUpdaterDelegate {
}
}
@MainActor
func updaterWillRelaunchApplication(_ updater: SPUUpdater) {
AppDelegate.shared?.persistSessionForUpdateRelaunch()
TerminalController.shared.stop()
NSApp.invalidateRestorableState()
for window in NSApp.windows {