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:
pepaskopec-blip 2026-09-23 21:30:03 +02:00
commit bce63459d1
35 changed files with 197 additions and 158 deletions

View file

@ -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()