Fix automatic backups not working

Apparently they die if you rename a worker class.

(cherry picked from commit d25ba23079e72d1cff05bfcd00b5f9830a086821)

# Conflicts:
#	app/build.gradle.kts
This commit is contained in:
arkon 2023-04-05 22:13:54 -04:00 committed by Jobobby04
parent 7c58cb85ef
commit a3648d5606
3 changed files with 7 additions and 1 deletions

View File

@ -26,7 +26,7 @@ android {
defaultConfig {
applicationId = "eu.kanade.tachiyomi.sy"
versionCode = 48
versionCode = 49
versionName = "1.9.0"
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")

View File

@ -363,6 +363,9 @@ object Migrations {
}
}
}
if (oldVersion < 100) {
BackupCreateJob.setupTask(context)
}
return true
}

View File

@ -538,6 +538,9 @@ object EXHMigrations {
}
}
}
if (oldVersion under 49) {
BackupCreateJob.setupTask(context)
}
// if (oldVersion under 1) { } (1 is current release version)
// do stuff here when releasing changed crap