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:
parent
7c58cb85ef
commit
a3648d5606
3 changed files with 7 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId = "eu.kanade.tachiyomi.sy"
|
||||
versionCode = 48
|
||||
versionCode = 49
|
||||
versionName = "1.9.0"
|
||||
|
||||
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
||||
|
|
|
|||
|
|
@ -363,6 +363,9 @@ object Migrations {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (oldVersion < 100) {
|
||||
BackupCreateJob.setupTask(context)
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue