Fix: Change updater download directory
This commit is contained in:
parent
d6fa04f024
commit
f2a97b3f62
3 changed files with 5 additions and 5 deletions
|
@ -14,8 +14,8 @@ android {
|
|||
applicationId = "dev.beefers.vendetta.manager"
|
||||
minSdk = 24
|
||||
targetSdk = 33
|
||||
versionCode = 1010
|
||||
versionName = "1.0.1"
|
||||
versionCode = 1011
|
||||
versionName = "1.0.11"
|
||||
|
||||
buildConfigField("String", "GIT_BRANCH", "\"${getCurrentBranch()}\"")
|
||||
buildConfigField("String", "GIT_COMMIT", "\"${getLatestCommit()}\"")
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"attributes": [],
|
||||
"versionCode": 1000,
|
||||
"versionName": "1.0.0",
|
||||
"versionCode": 1010,
|
||||
"versionName": "1.0.1",
|
||||
"outputFile": "app-release.apk"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -19,7 +19,7 @@ class MainViewModel(
|
|||
private val downloadManager: DownloadManager,
|
||||
private val context: Context
|
||||
) : ScreenModel {
|
||||
private val downloadDir = context.cacheDir
|
||||
private val downloadDir = context.externalCacheDir
|
||||
var release by mutableStateOf<Release?>(null)
|
||||
private set
|
||||
|
||||
|
|
Loading…
Reference in a new issue