fix: ~/Aliucord not generated
This commit is contained in:
parent
564370ab9c
commit
1b607f5897
2 changed files with 5 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -9,3 +9,4 @@ release
|
|||
.externalNativeBuild
|
||||
.cxx
|
||||
local.properties
|
||||
*.log
|
||||
|
|
|
|||
|
|
@ -26,7 +26,10 @@ object Signer {
|
|||
val keyStore = KeyStore.getInstance(KeyStore.getDefaultType())
|
||||
|
||||
aliucordDir.resolve("ks.keystore").also {
|
||||
if (!it.exists()) newKeystore(it)
|
||||
if (!it.exists()) {
|
||||
aliucordDir.mkdir()
|
||||
newKeystore(it)
|
||||
}
|
||||
}.inputStream().use { stream ->
|
||||
keyStore.load(stream, null)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue