Update the launcher in place from the launcher-latest release

CI stamps each APK's versionCode with the workflow run number and uploads
version.json next to it. The launcher checks that file on start (at most
every 6 hours) and from a new "Check for updates" item in the home menu;
when it is newer, it streams the APK into a PackageInstaller session and
commits it, so Android asks to confirm (or, on Android 12+ once the
launcher installed itself, may install it without asking).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K2oqEoAKVaiTwCNSqRHQUn
This commit is contained in:
Claude committed 2026-10-22 01:14:41 +00:00
1 parent 9278de14aa
commit 8426bd3b0a
9 files changed
+222 -5

No files matched your search

+2
View File
@@ -32,6 +32,7 @@
openSettings: () => toast("Open system settings"),
pickWallpaper: () => toast("Pick a wallpaper"),
openRecents: () => toast("Show open windows"),
checkUpdates: () => toast("Check for updates"),
showKeyboard: () => {},
hideKeyboard: () => {},
haptic: () => navigator.vibrate?.(10),
@@ -125,6 +126,7 @@
open_settings: () => host.openSettings(),
pick_wallpaper: () => host.pickWallpaper(),
open_recents: () => host.openRecents(),
check_updates: () => host.checkUpdates(),
haptic: () => host.haptic(),
}),
});