Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
305 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | @ECHO off
|
---|
| 2 | GOTO start
|
---|
| 3 | :find_dp0
|
---|
| 4 | SET dp0=%~dp0
|
---|
| 5 | EXIT /b
|
---|
| 6 | :start
|
---|
| 7 | SETLOCAL
|
---|
| 8 | CALL :find_dp0
|
---|
| 9 |
|
---|
| 10 | IF EXIST "%dp0%\node.exe" (
|
---|
| 11 | SET "_prog=%dp0%\node.exe"
|
---|
| 12 | ) ELSE (
|
---|
| 13 | SET "_prog=node"
|
---|
| 14 | SET PATHEXT=%PATHEXT:;.JS;=;%
|
---|
| 15 | )
|
---|
| 16 |
|
---|
| 17 | endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\terser\bin\terser" %*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.