Skip to content

Commit 737d5dc

Browse files
committed
amd64 to x86_64
1 parent eaafd05 commit 737d5dc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
pluginGroup = com.caretdev.plugins.idea
55
pluginName = intersystems
6-
pluginVersion = 0.0.5
6+
pluginVersion = 0.0.6
77

88
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
99
# for insight into build numbers and IntelliJ Platform versions.s

src/main/kotlin/com/caretdev/plugins/idea/preloading/LSPUtils.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ class LSPUtils(private val pluginPath: Path) {
3636
}
3737

3838
val os = OSUtils.operatingSystem
39-
val arch = System.getProperty("os.arch")
39+
var arch = System.getProperty("os.arch")
4040
val exe = if (OSUtils.operatingSystem == OSUtils.WINDOWS) ".exe" else ""
41+
if (arch == "amd64") {
42+
arch = "x86_64"
43+
}
4144
val lsPath = pluginPath.resolve("lib/language-server/$os-$arch/intersystems-ls$exe")
4245
checkExecutable(lsPath)
4346

0 commit comments

Comments
 (0)