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:
2026-11-09 19:40:52 +00:00
parent 15939fcf09
commit 277c691b2c
7 changed files with 320 additions and 34 deletions
@@ -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,
),