Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7472fe1

Browse files
matifaliclaude
andcommitted
fix: hide token input text and fix plugin installation path
- Change token text field type from General to Password to hide sensitive token values- Fix plugin installation path for different operating systems-Resolves#3📱 Generated with [Claude Code](https://claude.ai/code)Co-Authored-By: Claude <noreply@anthropic.com>
1 parentf42f9f5 commit7472fe1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ private fun getPluginInstallDir(): Path {
119119
}/"JetBrains"/"Toolbox"
120120

121121
val pluginsDir=when {
122-
SystemInfoRt.isWindows-> toolboxCachesDir/"cache"
123-
SystemInfoRt.isLinux||SystemInfoRt.isMac-> toolboxCachesDir
122+
SystemInfoRt.isWindows-> toolboxCachesDir/"cache"/"plugins"
123+
SystemInfoRt.isLinux||SystemInfoRt.isMac-> toolboxCachesDir/"plugins"
124124
else-> error("Unknown os")
125-
}/"plugins"
125+
}
126126

127127
return pluginsDir/ pluginId
128128
}

‎src/main/kotlin/com/coder/toolbox/views/TokenPage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class TokenPage(
2121
privatevaltoken:Pair<String,Source>?,
2222
privatevalonToken: ((token:String)->Unit),
2323
) : CoderPage() {
24-
privateval tokenField=TextField("Token", token?.first?:"",TextType.General)
24+
privateval tokenField=TextField("Token", token?.first?:"",TextType.Password)
2525

2626
overridefungetTitle():String="Enter your token"
2727

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp