mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-11 12:47:46 +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
|
SignatureParser.parse(args[2]).toTypedArray() // signatures.json
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// add integrations dex container
|
||||||
|
patcher.addFiles(File(args[3]))
|
||||||
|
|
||||||
// load all patches
|
// load all patches
|
||||||
for (patch in patches) {
|
for (patch in patches) {
|
||||||
patcher.addPatches(patch())
|
patcher.addPatches(patch())
|
||||||
}
|
}
|
||||||
|
|
||||||
// apply all patches
|
|
||||||
patcher.applyPatches().forEach{ (name, result) ->
|
patcher.applyPatches().forEach{ (name, result) ->
|
||||||
println("$name: $result")
|
println("$name: $result")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user