Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce0203 committed Aug 7, 2023
1 parent 7588e4e commit be4b132
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/mingwX64Main/kotlin/main.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import io.ktor.client.engine.winhttp.*
import korlibs.io.file.std.resourcesVfs
import korlibs.io.lang.readProperties
import kotlinx.coroutines.runBlocking
import network.ClientEngineFactory
import network.URLProvider
import org.koin.core.context.startKoin
Expand All @@ -15,7 +16,7 @@ class Main
fun runMain() = main()

fun main() {
launchNow {
runBlocking {
val clientProps = resourcesVfs["client.properties"].readProperties()
val url = clientProps["server"]!!
val version = clientProps["version"]!!
Expand Down

0 comments on commit be4b132

Please sign in to comment.