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:
9 files changed
+222
-5
No files matched your search
@@ -10,8 +10,10 @@ android {
|
||||
applicationId "dev.ultra.launcher"
|
||||
minSdk 26
|
||||
targetSdk 35
|
||||
versionCode 1
|
||||
versionName "0.1"
|
||||
// CI passes -PversionCode=<workflow run number>; the in-app updater compares it
|
||||
// with the versionCode in the launcher-latest release's version.json.
|
||||
versionCode((project.findProperty("versionCode") ?: "1") as Integer)
|
||||
versionName("0.1." + versionCode)
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
||||
Reference in new issue
Block a user