Commit c70392fb c70392fb8f9551db90d72bdff9b66c8f3aaf60f8 by hexid

Update dotNET app to use slimerjs.bat on Windows machines

1 parent 0d824988
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 [] {
......