Gonna be a Linux-focused launcher at some point, just some scripts for now.
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.

20 lines
559B

  1. import javafx.application.Application
  2. import javafx.fxml.FXMLLoader
  3. import javafx.scene.Parent
  4. import javafx.scene.Scene
  5. import javafx.stage.Stage
  6. class Main : Application() {
  7. override fun start(primaryStage: Stage) {
  8. val root: Parent = FXMLLoader.load(javaClass.getResource("ui.fxml"))
  9. val scene = Scene(root, 640.0, 480.0)
  10. primaryStage.title = "Robocraft 2 ExMods Launcher"
  11. primaryStage.scene = scene
  12. primaryStage.show()
  13. }
  14. }
  15. fun main(args: Array<String>) {
  16. Application.launch(Main::class.java, *args)
  17. }