add: deploy to adb

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX
2022-05-05 01:43:35 +02:00
parent eab58aa0a2
commit de2d29c464
7 changed files with 170 additions and 46 deletions

View File

@@ -10,13 +10,7 @@ import java.io.File
internal class Patcher {
internal companion object {
internal fun run() {
val patcher = app.revanced.patcher.Patcher(
MainCommand.inputFile,
MainCommand.cacheDirectory,
MainCommand.patchResources
)
internal fun start(patcher: app.revanced.patcher.Patcher) {
// merge files like necessary integrations
patcher.addFiles(MainCommand.mergeFiles)
// add patches, but filter incompatible or excluded patches