package org.hso.texturesyncclient.app import javafx.stage.Stage import org.hso.texturesyncclient.view.startupView.StartupView import org.hso.texturesyncclient.view.startupView.StartupViewController import tornadofx.App class Main: App(StartupView::class){ //start first controller private val svc = StartupViewController() override fun start(stage: Stage) { super.start(stage) stage.setOnCloseRequest { System.exit(0) } } }