Skip to content

Commit e410d41

Browse files
committed
fix: install location in Windows
1 parent b6570ee commit e410d41

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ or from [Coder's Github Release page](https://github.com/coder/coder-jetbrains-t
3232

3333
The next step is to copy the zip content to one of the following locations, depending on your OS:
3434

35-
* Windows: `%LocalAppData%/JetBrains/Toolbox/cache/plugins/com.coder.toolbox`
35+
* Windows: `%LocalAppData%/JetBrains/Toolbox/plugins/com.coder.toolbox`
3636
* macOS: `~/Library/Caches/JetBrains/Toolbox/plugins/com.coder.toolbox`
3737
* Linux: `~/.local/share/JetBrains/Toolbox/plugins/com.coder.toolbox`
3838

build.gradle.kts

+4-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,10 @@ private fun getPluginInstallDir(): Path {
191191
} / "JetBrains" / "Toolbox"
192192

193193
val pluginsDir = when {
194-
SystemInfoRt.isWindows -> toolboxCachesDir / "cache"
195-
SystemInfoRt.isLinux || SystemInfoRt.isMac -> toolboxCachesDir
194+
SystemInfoRt.isWindows ||
195+
SystemInfoRt.isLinux ||
196+
SystemInfoRt.isMac -> toolboxCachesDir
197+
196198
else -> error("Unknown os")
197199
} / "plugins"
198200

0 commit comments

Comments
 (0)