Install macOS updates in place and restart

Like Linux, the macOS app downloads the verified archive, unpacks it with
ditto beside the installed bundle, swaps it in (keeping the previous
bundle to roll back) and relaunches once the old process has quit.
This commit is contained in:
2026-11-13 11:43:40 +00:00
parent df0614e2f7
commit 6d58b3fb03
6 changed files with 263 additions and 5 deletions
@@ -136,7 +136,8 @@ class _SettingsUpdatesSectionState extends State<SettingsUpdatesSection> {
if (_available != null)
button(
const Key('settings-install-update'),
_available!.platform == 'linux'
_available!.platform == 'linux' ||
_available!.platform == 'macos'
? 'Install and restart'
: 'Download update',
_busy ? null : _install,