mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-18 00:43:58 +00:00
fix: gradle build script
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
7
src/main/kotlin/app/revanced/cli/Main.kt
Normal file
7
src/main/kotlin/app/revanced/cli/Main.kt
Normal file
@@ -0,0 +1,7 @@
|
||||
package app.revanced.cli
|
||||
|
||||
import picocli.CommandLine
|
||||
|
||||
internal fun main(args: Array<String>) {
|
||||
CommandLine(MainCommand).execute(*args)
|
||||
}
|
||||
@@ -2,7 +2,6 @@ package app.revanced.cli
|
||||
|
||||
import app.revanced.patch.PatchLoader
|
||||
import app.revanced.patch.Patches
|
||||
import picocli.CommandLine
|
||||
import picocli.CommandLine.*
|
||||
import java.io.File
|
||||
|
||||
@@ -57,8 +56,4 @@ internal object MainCommand : Runnable {
|
||||
if (!wipe) return
|
||||
File(cacheDirectory).deleteRecursively()
|
||||
}
|
||||
}
|
||||
|
||||
internal fun main(args: Array<String>) {
|
||||
CommandLine(MainCommand).execute(*args)
|
||||
}
|
||||
Reference in New Issue
Block a user