@@ -22,11 +22,11 @@ internal object MainCommand : Runnable {
22
22
@Option(names = [" -p" , " --patches" ], description = [" One or more bundles of patches" ])
23
23
internal var patchBundles = arrayOf<String >()
24
24
25
- @Option(names = [" -t" , " --temp-dir" ], description = [" Temporal resource cache directory" ], required = true )
26
- internal lateinit var cacheDirectory: String
25
+ @Option(names = [" -t" , " --temp-dir" ], description = [" Temporal resource cache directory" ])
26
+ internal var cacheDirectory = " revanced-cache "
27
27
28
- @Option(names = [" -r" , " --resource-patcher" ], description = [" Enable patching resources" ])
29
- internal var patchResources : Boolean = false
28
+ @Option(names = [" -r" , " --resource-patcher" ], description = [" Disable patching resources" ])
29
+ internal var disableResourcePatching : Boolean = false
30
30
31
31
@Option(
32
32
names = [" -c" , " --clean" ],
@@ -65,7 +65,7 @@ internal object MainCommand : Runnable {
65
65
return
66
66
}
67
67
68
- val patcher = app.revanced.patcher.Patcher (PatcherOptions (inputFile, cacheDirectory, patchResources ))
68
+ val patcher = app.revanced.patcher.Patcher (PatcherOptions (inputFile, cacheDirectory, ! disableResourcePatching ))
69
69
70
70
if (signatureCheck) {
71
71
patcher.addPatchesFiltered()
0 commit comments