Skip to content

Commit 9aa0659

Browse files
authored
update: bin*.bat — support alias with path ref (#330)
update: `bin*.bat` — support alias with path ref
2 parents dd27a6b + aece3ba commit 9aa0659

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ewtools.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@echo off
2-
node ./bin/ewTools.js %*
2+
set SCRIPT_DIR=%~dp0
3+
node %SCRIPT_DIR%/bin/ewTools.js %*

ewtools.class.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@echo off
2-
node ./bin/ewTools.class.js %*
2+
set SCRIPT_DIR=%~dp0
3+
node %SCRIPT_DIR%/bin/ewTools.class.js %*

0 commit comments

Comments
 (0)