perf: Use multiple threads for writing dex files

This has an impact on memory, but should not cause any issues in the environment of ReVanced CLI.
This commit is contained in:
oSumAtrIX 2023-10-10 02:00:28 +02:00
parent daac98817f
commit 28648a1c53
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ internal object PatchCommand : Runnable {
resourceCachePath,
aaptBinaryPath?.path,
resourceCachePath.absolutePath,
true
)
).use { patcher ->
val filteredPatches = patcher.filterPatchSelection(patches).also { patches ->