Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce0203 committed Aug 19, 2023
1 parent caab477 commit 8155048
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions client/src/commonMain/kotlin/start.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ suspend fun startMain() {
scaleAnchor = Anchor.TOP_LEFT,
backgroundColor = ColorPalette.background
) {
// scene = sceneContainer()
// scene.changeTo({ MainScene() })
addChild(resourcesVfs["scene.ktree"].readKTree(views))
scene = sceneContainer()
scene.changeTo({ MainScene() })
}
}
4 changes: 2 additions & 2 deletions shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ tasks.create<Delete>("disableKRes") {

tasks.all {
if (name.contains("mingwX64", ignoreCase = true)) {
File("$projectDir/$name").createNewFile()
File("$projectDir/temp/$name").createNewFile()
onlyIf { false }
}
}

tasks.create<Delete>("disableBootstrap") {
dependsOn(tasks.named("compileKotlinMingwX64"))
dependsOn(tasks.getByName("compileKotlinMingwX64"))
beforeEvaluate { File(projectDir, "build/platforms/native-desktop/bootstrap.kt").delete() }
}

Expand Down

0 comments on commit 8155048

Please sign in to comment.