mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-19 01:03:56 +00:00
fix: Resolve EACCESS error in special cases (#2135)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user