fix: patching from wrong folder
This commit is contained in:
parent
e4cfd11f7c
commit
7dfe592cb3
2 changed files with 2 additions and 3 deletions
|
|
@ -209,7 +209,7 @@ class InstallViewModel(
|
|||
|
||||
// Download the locale split
|
||||
val localeApkFile = step(InstallStep.DL_LANG_APK) {
|
||||
discordCacheDir.resolve("config.en-${supportedVersion}.apk").also { file ->
|
||||
discordCacheDir.resolve("config.en-${supportedVersion}.apk").let { file ->
|
||||
if (file.exists()) {
|
||||
cached = true
|
||||
} else downloadManager.downloadSplit(
|
||||
|
|
@ -228,7 +228,7 @@ class InstallViewModel(
|
|||
// Download the drawables split
|
||||
val resApkFile = step(InstallStep.DL_RESC_APK) {
|
||||
// TODO: download the appropriate dpi res apk
|
||||
discordCacheDir.resolve("config.xxhdpi-${supportedVersion}.apk").also { file ->
|
||||
discordCacheDir.resolve("config.xxhdpi-${supportedVersion}.apk").let { file ->
|
||||
if (file.exists()) {
|
||||
cached = true
|
||||
} else downloadManager.downloadSplit(
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ allprojects {
|
|||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven("https://jitpack.io")
|
||||
maven("https://maven.aliucord.com/snapshots")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue