Fix automatic backups not working

Apparently they die if you rename a worker class.
This commit is contained in:
arkon 2023-04-05 22:13:54 -04:00
parent 75460e01c8
commit d25ba23079
2 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ android {
defaultConfig { defaultConfig {
applicationId = "eu.kanade.tachiyomi" applicationId = "eu.kanade.tachiyomi"
versionCode = 99 versionCode = 100
versionName = "0.14.5" versionName = "0.14.5"
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"") buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")

View File

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