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
|
// Download the locale split
|
||||||
val localeApkFile = step(InstallStep.DL_LANG_APK) {
|
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()) {
|
if (file.exists()) {
|
||||||
cached = true
|
cached = true
|
||||||
} else downloadManager.downloadSplit(
|
} else downloadManager.downloadSplit(
|
||||||
|
|
@ -228,7 +228,7 @@ class InstallViewModel(
|
||||||
// Download the drawables split
|
// Download the drawables split
|
||||||
val resApkFile = step(InstallStep.DL_RESC_APK) {
|
val resApkFile = step(InstallStep.DL_RESC_APK) {
|
||||||
// TODO: download the appropriate dpi res 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()) {
|
if (file.exists()) {
|
||||||
cached = true
|
cached = true
|
||||||
} else downloadManager.downloadSplit(
|
} else downloadManager.downloadSplit(
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven("https://jitpack.io")
|
|
||||||
maven("https://maven.aliucord.com/snapshots")
|
maven("https://maven.aliucord.com/snapshots")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue