File tree Expand file tree Collapse file tree
src/de/halirutan/mathematica Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package de .halirutan .mathematica .codeinsight .completion ;
2+
3+ /**
4+ * @author patrick (02.01.17).
5+ */
6+ public class MathematicaCompletionSkipper {
7+ }
Original file line number Diff line number Diff line change @@ -138,11 +138,10 @@ public String getVersionString(@NotNull Sdk sdk) {
138138 @ Override
139139 public boolean isValidSdkHome (String path ) {
140140 String kernelLocation = "" ;
141- if (OS .contains ("win" ) || OS .contains ("nux" )) {
141+ if (OS .contains ("win" )) {
142+ kernelLocation = path + File .separatorChar + "MathKernel.exe" ;
143+ } else if (OS .contains ("nux" )) {
142144 kernelLocation = path + File .separatorChar + "Executables" + File .separatorChar + "MathKernel" ;
143- if (OS .contains ("win" )) {
144- kernelLocation += ".exe" ;
145- }
146145 } else if (OS .contains ("mac" )) {
147146 kernelLocation = path + File .separatorChar + "Contents/MacOS/MathKernel" ;
148147 }
You can’t perform that action at this time.
0 commit comments