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
@ -26,7 +26,7 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "eu.kanade.tachiyomi.sy"
|
applicationId = "eu.kanade.tachiyomi.sy"
|
||||||
versionCode = 48
|
versionCode = 49
|
||||||
versionName = "1.9.0"
|
versionName = "1.9.0"
|
||||||
|
|
||||||
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
|
||||||
|
@ -363,6 +363,9 @@ object Migrations {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (oldVersion < 100) {
|
||||||
|
BackupCreateJob.setupTask(context)
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -538,6 +538,9 @@ object EXHMigrations {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (oldVersion under 49) {
|
||||||
|
BackupCreateJob.setupTask(context)
|
||||||
|
}
|
||||||
|
|
||||||
// if (oldVersion under 1) { } (1 is current release version)
|
// if (oldVersion under 1) { } (1 is current release version)
|
||||||
// do stuff here when releasing changed crap
|
// do stuff here when releasing changed crap
|
||||||
|
Loading…
x
Reference in New Issue
Block a user