mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-02 14:54:25 +02:00
fix: Resolve EACCESS error in special cases (#2135)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
c7298424e5
commit
1f95767aeb
@ -219,6 +219,9 @@ class MainActivity : FlutterActivity() {
|
|||||||
keystorePassword: String
|
keystorePassword: String
|
||||||
) {
|
) {
|
||||||
val inFile = File(inFilePath)
|
val inFile = File(inFilePath)
|
||||||
|
// Necessary because the file is copied from a nonwriteable location.
|
||||||
|
inFile.setWritable(true)
|
||||||
|
inFile.setReadable(true)
|
||||||
val outFile = File(outFilePath)
|
val outFile = File(outFilePath)
|
||||||
val integrations = File(integrationsPath)
|
val integrations = File(integrationsPath)
|
||||||
val keyStoreFile = File(keyStoreFilePath)
|
val keyStoreFile = File(keyStoreFilePath)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user