Kaynağa Gözat

Fix automatic backups not working

Apparently they die if you rename a worker class.
arkon 1 yıl önce
ebeveyn
işleme
d25ba23079

+ 1 - 1
app/build.gradle.kts

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

+ 3 - 0
app/src/main/java/eu/kanade/tachiyomi/Migrations.kt

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