mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Rename published packages and installers from maturita-* to graduately-*.
Keep temporary legacy aliases on the builds branch so older updaters still find downloads. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
8891bb2a38
commit
bce63459d1
35 changed files with 197 additions and 158 deletions
|
|
@ -91,9 +91,9 @@ class Updater(private val app: Application) {
|
|||
val remote = remoteAndroidCommit(atom, head)
|
||||
// Pin the download to the commit: the branch-named URL can be
|
||||
// served from a stale CDN cache (even a cached 404).
|
||||
val url = "https://raw.githubusercontent.com/$repo/$head/maturita-android.apk"
|
||||
val url = "https://raw.githubusercontent.com/$repo/$head/graduately-android.apk"
|
||||
val dir = File(app.cacheDir, "updates").apply { mkdirs() }
|
||||
val apk = File(dir, "maturita.apk")
|
||||
val apk = File(dir, "graduately.apk")
|
||||
download(url, apk)
|
||||
if (!isOurApk(apk)) {
|
||||
apk.delete()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue