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 {
return "SLIMERJS_EXECUTABLE";
}
public string default_exec() {
return "slimerjs";
// use bat file on windows
return (Path.DirectorySeparatorChar == '/') ? "slimerjs" : "slimerjs.bat";
}
public string[] native_args() {
return new [] {
......