mirror of
https://github.com/ilyakooo0/intellij-haskell.git
synced 2024-08-17 10:40:44 +03:00
Fix issue #503 (hopefully)
This commit is contained in:
parent
561a63e737
commit
59d28aabcf
@ -15,7 +15,13 @@ object GlobalInfo {
|
||||
final val StackageLtsVersion = "lts-14"
|
||||
private final val ToolsBinDirName = "bin"
|
||||
|
||||
private final val IntelliJHaskellDirectories = ProjectDirectories.from("com.github", "rikvdkleij", "intellij-haskell")
|
||||
private final lazy val IntelliJHaskellDirectories = {
|
||||
// Workaround https://github.com/rikvdkleij/intellij-haskell/issues/503
|
||||
if (SystemInfo.isWindows) {
|
||||
System.setProperty("jdk.lang.Process.allowAmbiguousCommands", "true")
|
||||
}
|
||||
ProjectDirectories.from("com.github", "rikvdkleij", "intellij-haskell")
|
||||
}
|
||||
|
||||
lazy val getIntelliJHaskellDirectory: File = {
|
||||
val directory = new File(IntelliJHaskellDirectories.cacheDir)
|
||||
|
Loading…
Reference in New Issue
Block a user