feat: add GitHub update check and APK handling for in-app updates

This commit is contained in:
Sarto
2026-05-02 17:22:28 +03:30
parent cee80685d7
commit 6c1bb9f58f
8 changed files with 420 additions and 12 deletions
@@ -81,6 +81,9 @@ class ThefeedService : Service() {
val env = mutableMapOf<String, String>()
env["HOME"] = filesDir.absolutePath
env["TMPDIR"] = cacheDir.absolutePath
// Tells internal/update to point the user at the APK on
// GitHub instead of the bare client binary.
env["THEFEED_ANDROID_APK"] = "1"
val pb = ProcessBuilder(
bin.absolutePath,