bump
This commit is contained in:
parent
e57e27043c
commit
1efb4f7485
|
|
@ -51,7 +51,10 @@ enum AutoUpdater {
|
||||||
}
|
}
|
||||||
try? "local\n0".write(toFile: pendingStatePath, atomically: true, encoding: .utf8)
|
try? "local\n0".write(toFile: pendingStatePath, atomically: true, encoding: .utf8)
|
||||||
spawnSwapAndRelaunch()
|
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 {
|
private static func stageFromDMG() -> Bool {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue