Merge pull request #635 from hexid/dotNET
Update dotNET app to use slimerjs.bat on Windows machines
Showing
2 changed files
with
2 additions
and
1 deletions
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 [] { | ... | ... |
-
Please register or sign in to post a comment