File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import org.jetbrains.compose.desktop.application.dsl.TargetFormat
2- import org.jetbrains.compose.reload.ComposeHotRun
32import org.jetbrains.kotlin.compose.compiler.gradle.ComposeFeatureFlag
43import java.nio.file.Paths
54
@@ -13,11 +12,11 @@ plugins {
1312}
1413
1514group = " moe.styx"
16- version = " 0.2.2-beta1 "
15+ version = " 0.2.2-beta2 "
1716
1817// Necessary to have working Windows installers for rc/beta/etc versions.
1918// Count up by one for every release until a new MINOR version bump.
20- val subVersionClassifier = 4
19+ val subVersionClassifier = 5
2120
2221repositories {
2322 google()
@@ -92,6 +91,11 @@ compose.desktop {
9291 if (it.startsWith(" 0." )) it.replaceFirst(" 0." , " 1." ) else it
9392 }.split(" -" )[0 ]
9493 appStore = false
94+ dockName = project.name
95+ setDockNameSameAsPackageName = false
96+ signing {
97+ sign = false
98+ }
9599 iconFile.set(project.file(" src/main/resources/icons/icon.icns" ))
96100 }
97101 }
@@ -102,10 +106,6 @@ composeCompiler {
102106 featureFlags.add(ComposeFeatureFlag .OptimizeNonSkippingGroups )
103107}
104108
105- tasks.withType<ComposeHotRun >().configureEach {
106- mainClass.set(" moe.styx.MainKt" )
107- }
108-
109109buildConfig {
110110 val siteURL = System .getenv(" STYX_SITEURL" )
111111 buildConfigField(" APP_NAME" , project.name)
Original file line number Diff line number Diff line change 11[versions ]
2- kotlin = " 2.1 .20"
3- compose = " 1.8.1 "
4- styx-common-compose = " 0.3.2 "
2+ kotlin = " 2.3 .20"
3+ compose = " 1.10.3 "
4+ styx-common-compose = " 0.4.0 "
55buildconfig = " 5.6.2"
66slf4j-simple = " 2.0.17"
7- kdiscord-ipc = " 0.2.3 "
7+ kdiscord-ipc = " 0.2.5 "
88junix = " 2.10.1"
99zip4j = " 2.11.5"
10- coroutines = " 1.10.1 "
11- hot-reload = " 1.0.0-alpha10 "
10+ coroutines = " 1.10.2 "
11+ hot-reload = " 1.0.0"
1212
1313[plugins ]
1414kotlin-jvm = { id = " org.jetbrains.kotlin.jvm" , version.ref = " kotlin" }
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import io.kamel.image.config.LocalKamelConfig
2525import kotlinx.coroutines.delay
2626import kotlinx.coroutines.flow.MutableStateFlow
2727import kotlinx.coroutines.flow.debounce
28- import kotlinx.datetime.Clock
2928import kotlinx.datetime.TimeZone
3029import kotlinx.datetime.toLocalDateTime
3130import moe.styx.Styx_2.BuildConfig
@@ -50,6 +49,7 @@ import moe.styx.logic.runner.currentPlayer
5049import moe.styx.views.anime.AnimeOverview
5150import java.io.File
5251import java.io.PrintStream
52+ import kotlin.time.Clock
5353
5454object Main {
5555 var isUiModeDark: MutableState <Boolean > = mutableStateOf(true )
You can’t perform that action at this time.
0 commit comments