mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-19 09:13:57 +00:00
fix: add some minor improvements and fix release builds
This commit is contained in:
@@ -52,6 +52,8 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
shrinkResources false
|
||||
minifyEnabled false
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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