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
522 B
15 lines
522 B
package dev.openrs2.bundler
|
|
|
|
import com.github.ajalt.clikt.core.CliktCommand
|
|
import com.google.inject.Guice
|
|
import java.nio.file.Paths
|
|
|
|
fun main(args: Array<String>) = BundleCommand().main(args)
|
|
|
|
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"))
|
|
}
|
|
}
|
|
|