Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
624 B
19 lines
624 B
package org.openrs2.patcher
|
|
|
|
import com.github.ajalt.clikt.core.CliktCommand
|
|
import com.google.inject.Guice
|
|
import java.nio.file.Paths
|
|
|
|
public fun main(args: Array<String>): Unit = PatchCommand().main(args)
|
|
|
|
public class PatchCommand : CliktCommand(name = "patch") {
|
|
override fun run() {
|
|
val injector = Guice.createInjector(PatcherModule)
|
|
val patcher = injector.getInstance(Patcher::class.java)
|
|
patcher.run(
|
|
input = Paths.get("nonfree/share/client"),
|
|
output = Paths.get("nonfree/var/cache/client"),
|
|
keyStorePath = Paths.get("etc/loader.p12")
|
|
)
|
|
}
|
|
}
|
|
|