make the app build

This commit is contained in:
Aria Moradi 2021-05-03 20:50:09 +04:30
parent 4b273c6bf9
commit 773120c96a
2 changed files with 4 additions and 4 deletions

View File

@ -82,9 +82,9 @@ object JavalinSetup {
// when JVM is prompted to shutdown, stop javalin gracefully // when JVM is prompted to shutdown, stop javalin gracefully
Runtime.getRuntime().addShutdownHook( Runtime.getRuntime().addShutdownHook(
thread(start = false) { thread(start = false) {
app.stop() app.stop()
} }
) )
if (hasWebUiBundled && serverConfig.initialOpenInBrowserEnabled) { if (hasWebUiBundled && serverConfig.initialOpenInBrowserEnabled) {

View File

@ -10,7 +10,7 @@ package ir.armor.tachidesk.server
import ch.qos.logback.classic.Level import ch.qos.logback.classic.Level
import eu.kanade.tachiyomi.App import eu.kanade.tachiyomi.App
import ir.armor.tachidesk.Main import ir.armor.tachidesk.Main
import ir.armor.tachidesk.model.dataclass.makeDataBaseTables import ir.armor.tachidesk.model.database.makeDataBaseTables
import ir.armor.tachidesk.server.util.systemTray import ir.armor.tachidesk.server.util.systemTray
import mu.KotlinLogging import mu.KotlinLogging
import org.kodein.di.DI import org.kodein.di.DI