diff --git a/build.gradle.kts b/build.gradle.kts index e0b1b04..7b4a273 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -178,10 +178,10 @@ private fun getPluginInstallDir(): Path { } / "JetBrains" / "Toolbox" val pluginsDir = when { - SystemInfoRt.isWindows -> toolboxCachesDir / "cache" - SystemInfoRt.isLinux || SystemInfoRt.isMac -> toolboxCachesDir + SystemInfoRt.isWindows -> toolboxCachesDir / "cache" / "plugins" + SystemInfoRt.isLinux || SystemInfoRt.isMac -> toolboxCachesDir / "plugins" else -> error("Unknown os") - } / "plugins" + } return pluginsDir / extension.id } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a115bbd..0c2eef2 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,6 +4,8 @@ kotlin = "2.1.0" coroutines = "1.10.1" serialization = "1.8.0" okhttp = "4.12.0" +slf4j = "2.0.3" +tinylog = "2.7.0" dependency-license-report = "2.9" marketplace-client = "2.0.45" gradle-wrapper = "0.14.0" diff --git a/src/main/kotlin/com/coder/toolbox/views/TokenPage.kt b/src/main/kotlin/com/coder/toolbox/views/TokenPage.kt index 4c2b016..1c0a5f7 100644 --- a/src/main/kotlin/com/coder/toolbox/views/TokenPage.kt +++ b/src/main/kotlin/com/coder/toolbox/views/TokenPage.kt @@ -25,7 +25,7 @@ class TokenPage( token: Pair?, private val onToken: ((token: String) -> Unit), ) : CoderPage(context, context.i18n.ptrl("Enter your token")) { - private val tokenField = TextField(context.i18n.ptrl("Token"), token?.first ?: "", TextType.General) + private val tokenField = TextField(context.i18n.ptrl("Token"), token?.first ?: "", TextType.Password) /** * Fields for this page, displayed in order.