Remove suffix (#810)
TachiyomiSY's APK didn't have this suffix. The code now causes the corresponding architecture impossible to find, which leads to downloading the APK for arm64 when updating from x86_64.
This commit is contained in:
parent
5b7cbd66c4
commit
978a814815
1 changed files with 1 additions and 1 deletions
2
app/src/main/java/eu/kanade/tachiyomi/data/updater/GithubRelease.kt
Executable file → Normal file
2
app/src/main/java/eu/kanade/tachiyomi/data/updater/GithubRelease.kt
Executable file → Normal file
|
|
@ -29,7 +29,7 @@ data class GithubRelease(
|
|||
}
|
||||
|
||||
// SY <--
|
||||
return assets.find { it.downloadLink.contains("TachiyomiSY$apkVariant-") }?.downloadLink
|
||||
return assets.find { it.downloadLink.contains("TachiyomiSY$apkVariant") }?.downloadLink
|
||||
// SY -->
|
||||
?: assets[0].downloadLink
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue