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.
15 lines
540 B
15 lines
540 B
package org.openrs2.bundler
|
|
|
|
import com.github.ajalt.clikt.core.CliktCommand
|
|
import com.google.inject.Guice
|
|
import java.nio.file.Paths
|
|
|
|
public fun main(args: Array<String>): Unit = BundleCommand().main(args)
|
|
|
|
public class BundleCommand : CliktCommand(name = "bundle") {
|
|
override fun run() {
|
|
val injector = Guice.createInjector(BundlerModule)
|
|
val bundler = injector.getInstance(Bundler::class.java)
|
|
bundler.run(Paths.get("nonfree/lib"), Paths.get("nonfree/var/cache/bundle"), Paths.get("etc/loader.p12"))
|
|
}
|
|
}
|
|
|