Install Linux updates in place and restart
The Linux app now downloads the release archive to a temporary folder, verifies its checksum, extracts it beside the install folder, swaps the bundle in with two renames (keeping <install>.previous for rollback) and relaunches. A read-only install location is reported with how to fix it. The prompt and Settings button say "Install and restart".
This commit is contained in:
@@ -155,7 +155,9 @@ class _SettingsUpdatesSectionState extends State<SettingsUpdatesSection> {
|
||||
if (_available != null)
|
||||
button(
|
||||
const Key('settings-install-update'),
|
||||
'Download update',
|
||||
_available!.platform == 'linux'
|
||||
? 'Install and restart'
|
||||
: 'Download update',
|
||||
_busy ? null : _install,
|
||||
true,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user