mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-29 06:01:05 +00:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user