mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-19 01:03:56 +00:00
fix: add some minor improvements and fix release builds
This commit is contained in:
@@ -121,7 +121,7 @@ class MainActivity : FlutterActivity() {
|
||||
path,
|
||||
DexClassLoader(
|
||||
path,
|
||||
context.cacheDir.path,
|
||||
applicationContext.cacheDir.path,
|
||||
null,
|
||||
javaClass.classLoader
|
||||
)
|
||||
@@ -180,7 +180,7 @@ class MainActivity : FlutterActivity() {
|
||||
|
||||
fun createPatcher(inputFilePath: String, cacheDirPath: String): Boolean {
|
||||
val inputFile = File(inputFilePath)
|
||||
val aaptPath = Aapt.binary(context).absolutePath
|
||||
val aaptPath = Aapt.binary(applicationContext).absolutePath
|
||||
patcher = Patcher(PatcherOptions(inputFile, cacheDirPath, true, aaptPath, cacheDirPath))
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user