Fix DeobfuscateAstCommand class name

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 5 years ago
parent 9d6c8f8735
commit c20dad7a5e
  1. 4
      all/src/main/java/dev/openrs2/Command.kt
  2. 4
      deob-ast/src/main/java/dev/openrs2/deob/ast/DeobfuscateAstCommand.kt

@ -7,7 +7,7 @@ import dev.openrs2.compress.cli.CompressCommand
import dev.openrs2.crc32.Crc32Command
import dev.openrs2.decompiler.DecompileCommand
import dev.openrs2.deob.DeobfuscateCommand
import dev.openrs2.deob.ast.AstDeobfuscateCommand
import dev.openrs2.deob.ast.DeobfuscateAstCommand
import dev.openrs2.game.GameCommand
fun main(args: Array<String>) = Command().subcommands(
@ -16,7 +16,7 @@ fun main(args: Array<String>) = Command().subcommands(
Crc32Command(),
DecompileCommand(),
DeobfuscateCommand(),
AstDeobfuscateCommand(),
DeobfuscateAstCommand(),
GameCommand()
).main(args)

@ -3,9 +3,9 @@ package dev.openrs2.deob.ast
import com.github.ajalt.clikt.core.CliktCommand
import java.nio.file.Paths
fun main(args: Array<String>) = AstDeobfuscateCommand().main(args)
fun main(args: Array<String>) = DeobfuscateAstCommand().main(args)
class AstDeobfuscateCommand : CliktCommand(name = "deob-ast") {
class DeobfuscateAstCommand : CliktCommand(name = "deob-ast") {
override fun run() {
val deobfuscator = AstDeobfuscator(
listOf(

Loading…
Cancel
Save