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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user