소스 검색

new states

milan jurkulák 2 년 전
부모
커밋
59558a7e42
1개의 변경된 파일과 4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      src/main/kotlin/eu/mjdev/desktop/provider/DesktopProvider.kt

+ 4 - 2
src/main/kotlin/eu/mjdev/desktop/provider/DesktopProvider.kt

@@ -36,7 +36,9 @@ import kotlin.system.exitProcess
 class DesktopProvider(
     val scope: CoroutineScope = CoroutineScope(Dispatchers.IO),
     val imageLoader: ImageLoader? = null,
-    val isDebug: Boolean = true
+    val isDebug: Boolean = true,
+    val isFirstStart: Boolean = true, // todo
+    val isInstalled:Boolean = false, // todo
 ) : AutoCloseable {
     val scriptManager: ScriptEngineManager by lazy { ScriptEngineManager() }
     val scriptEngine: ScriptEngine by lazy {
@@ -258,7 +260,7 @@ class DesktopProvider(
             DesktopProvider(
                 scope,
                 imageLoader,
-                isDebug
+                isDebug,
             )
         }