mirror of
https://github.com/sartoopjj/thefeed.git
synced 2026-05-19 11:44:35 +03:00
feat: add GitHub update check and APK handling for in-app updates
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user