Commit 0dcd7fb5 0dcd7fb5aeb6813f7dd24005c562dff41a664c06 by Nicolas Perriault

Merge pull request #635 from hexid/dotNET

Update dotNET app to use slimerjs.bat on Windows machines
2 parents d8ef2965 c70392fb
No preview for this file type
...@@ -55,7 +55,8 @@ class slimerjs : engine { ...@@ -55,7 +55,8 @@ class slimerjs : engine {
55 return "SLIMERJS_EXECUTABLE"; 55 return "SLIMERJS_EXECUTABLE";
56 } 56 }
57 public string default_exec() { 57 public string default_exec() {
58 return "slimerjs"; 58 // use bat file on windows
59 return (Path.DirectorySeparatorChar == '/') ? "slimerjs" : "slimerjs.bat";
59 } 60 }
60 public string[] native_args() { 61 public string[] native_args() {
61 return new [] { 62 return new [] {
......