mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-03 08:52:53 +01:00
feat: integrations merge
This commit is contained in:
parent
6664f49a11
commit
919b34e174
@ -12,12 +12,14 @@ fun main(args: Array<String>) {
|
||||
SignatureParser.parse(args[2]).toTypedArray() // signatures.json
|
||||
)
|
||||
|
||||
// add integrations dex container
|
||||
patcher.addFiles(File(args[3]))
|
||||
|
||||
// load all patches
|
||||
for (patch in patches) {
|
||||
patcher.addPatches(patch())
|
||||
}
|
||||
|
||||
// apply all patches
|
||||
patcher.applyPatches().forEach{ (name, result) ->
|
||||
println("$name: $result")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user