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
@@ -8,7 +8,7 @@ import 'package:pipelines_app/features/updates/launch_update_dialog.dart';
void main() {
for (final (platform, sentence, action) in [
('linux', 'installs it and restarts', 'Install and restart'),
('macos', 'extract the archive', 'Download'),
('macos', 'installs it and restarts', 'Install and restart'),
]) {
testWidgets('$platform prompt identifies source and its action', (
tester,