diff --git a/README.md b/README.md index cdce274c..f56d0494 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,6 @@ Make sure you have used either an installer, or you have Java 15 installed. ### It says server failed to start Make sure that if you used an installer, that you have at least Java 8 installed. -### The top bar is broken -You are most likely using Java 16 to start the jar, this additional argument can fix it: - -`java --add-exports java.desktop/sun.swing=ALL-UNNAMED -jar Tachidesk-JUI-os-arch-X.Y.Z.jar` - ## Support and help Join Tachidesk's [discord server](https://discord.gg/wgPyb7hE5d) to hang out with the community and receive support and help. diff --git a/build.gradle.kts b/build.gradle.kts index 5e898f81..02ad53df 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,7 +13,7 @@ plugins { kotlin("plugin.serialization") version "1.5.21" id("org.jetbrains.compose") version "1.0.0-alpha4-build310" id("de.fuerstenau.buildconfig") version "1.1.8" - id("org.jmailen.kotlinter") version "3.4.5" + id("org.jmailen.kotlinter") version "3.5.0" id("com.github.ben-manes.versions") version "0.39.0" } @@ -36,7 +36,7 @@ dependencies { implementation("ca.gosyer:accompanist-pager:0.14.0") // UI (Swing) - implementation("com.github.weisj:darklaf-core:2.6.1") + implementation("com.github.weisj:darklaf-core:2.7.2") // Threading val coroutinesVersion = "1.5.1" @@ -57,7 +57,7 @@ dependencies { kapt("com.github.stephanenicolas.toothpick:toothpick-compiler:$toothpickVersion") // Http client - val ktorVersion = "1.6.1" + val ktorVersion = "1.6.2" implementation("io.ktor:ktor-client-core:$ktorVersion") implementation("io.ktor:ktor-client-okhttp:$ktorVersion") implementation("io.ktor:ktor-client-serialization:$ktorVersion") diff --git a/src/main/kotlin/ca/gosyer/ui/main/main.kt b/src/main/kotlin/ca/gosyer/ui/main/main.kt index 2194c88b..2600a5b9 100644 --- a/src/main/kotlin/ca/gosyer/ui/main/main.kt +++ b/src/main/kotlin/ca/gosyer/ui/main/main.kt @@ -78,7 +78,7 @@ suspend fun main() { uiPreferences.themeMode() .getAsFlow { - if (!uiPreferences.windowDecorations().get() || System.getProperty("os.name").startsWith("Mac") && System.getProperty("os.arch") == "aarch64") { + if (!uiPreferences.windowDecorations().get()) { return@getAsFlow } val theme = when (it) {