diff --git a/Sources/Pommedoro/AutoUpdater.swift b/Sources/Pommedoro/AutoUpdater.swift index 4054780..f7e77a7 100644 --- a/Sources/Pommedoro/AutoUpdater.swift +++ b/Sources/Pommedoro/AutoUpdater.swift @@ -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 {