Update dependencies

This commit is contained in:
Syer10
2021-08-15 12:48:21 -04:00
parent 2e286619d5
commit 261d4070ad
3 changed files with 4 additions and 9 deletions

View File

@@ -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.

View File

@@ -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")

View File

@@ -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) {