mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore: Sync project [skip ci]
This commit is contained in:
parent
5ba3600c28
commit
04d0003963
4 changed files with 7 additions and 9 deletions
2
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
2
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
|
@ -35,7 +35,7 @@ body:
|
|||
required: true
|
||||
- label: If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
|
||||
required: true
|
||||
- label: I have updated the app to version **[1.8.5.7](https://github.com/null2264/yokai/releases/latest)**.
|
||||
- label: I have updated the app to version **[1.8.5.8](https://github.com/null2264/yokai/releases/latest)**.
|
||||
required: true
|
||||
- label: I have checked through the app settings for my feature.
|
||||
required: true
|
||||
|
|
2
.github/ISSUE_TEMPLATE/issue_report.yml
vendored
2
.github/ISSUE_TEMPLATE/issue_report.yml
vendored
|
@ -100,7 +100,7 @@ body:
|
|||
required: true
|
||||
- label: I have tried the [troubleshooting guide](https://mihon.app/help/).
|
||||
required: true
|
||||
- label: I have updated the app to version **[1.8.5.7](https://github.com/null2264/yokai/releases/latest)**.
|
||||
- label: I have updated the app to version **[1.8.5.8](https://github.com/null2264/yokai/releases/latest)**.
|
||||
required: true
|
||||
- label: I have updated all installed extensions.
|
||||
required: true
|
||||
|
|
|
@ -31,7 +31,7 @@ fun runCommand(command: String): String {
|
|||
return String(byteOut.toByteArray()).trim()
|
||||
}
|
||||
|
||||
val _versionName = "1.8.5.7"
|
||||
val _versionName = "1.8.5.8"
|
||||
val betaCount by lazy {
|
||||
val betaTags = runCommand("git tag -l --sort=refname v${_versionName}-b*")
|
||||
|
||||
|
@ -54,7 +54,7 @@ val supportedAbis = setOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
|
|||
android {
|
||||
defaultConfig {
|
||||
applicationId = "eu.kanade.tachiyomi"
|
||||
versionCode = 148
|
||||
versionCode = 149
|
||||
versionName = _versionName
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
multiDexEnabled = true
|
||||
|
|
|
@ -18,9 +18,7 @@ import okio.gzip
|
|||
import okio.sink
|
||||
import uy.kohesive.injekt.Injekt
|
||||
import uy.kohesive.injekt.api.get
|
||||
import uy.kohesive.injekt.injectLazy
|
||||
import yokai.domain.backup.BackupPreferences
|
||||
import yokai.domain.storage.StorageManager
|
||||
import yokai.i18n.MR
|
||||
import yokai.util.lang.getString
|
||||
import java.io.FileOutputStream
|
||||
|
@ -73,10 +71,10 @@ class BackupCreator(
|
|||
dir?.createFile(Backup.getBackupFilename())
|
||||
} else {
|
||||
UniFile.fromUri(context, uri)
|
||||
}
|
||||
} ?: throw IllegalStateException("Unable to retrieve backup destination")
|
||||
|
||||
if (file == null || !file.isFile) {
|
||||
throw IllegalStateException("Unable to create backup file")
|
||||
if (!file.isFile) {
|
||||
throw IllegalStateException("Invalid backup destination")
|
||||
}
|
||||
|
||||
val backupManga = mangaBackupCreator(getDatabaseManga(options.readManga), options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue