Last change
on this file since 571e0df was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago |
adding photos
|
-
Property mode
set to
100644
|
File size:
264 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | @ECHO off
|
---|
| 2 | SETLOCAL
|
---|
| 3 | CALL :find_dp0
|
---|
| 4 |
|
---|
| 5 | IF EXIST "%dp0%\node.exe" (
|
---|
| 6 | SET "_prog=%dp0%\node.exe"
|
---|
| 7 | ) ELSE (
|
---|
| 8 | SET "_prog=node"
|
---|
| 9 | SET PATHEXT=%PATHEXT:;.JS;=;%
|
---|
| 10 | )
|
---|
| 11 |
|
---|
[59329aa] | 12 | "%_prog%" "%dp0%\..\nanoid\bin\nanoid.cjs" %*
|
---|
| 13 | ENDLOCAL
|
---|
| 14 | EXIT /b %errorlevel%
|
---|
| 15 | :find_dp0
|
---|
| 16 | SET dp0=%~dp0
|
---|
| 17 | EXIT /b
|
---|
Note:
See
TracBrowser
for help on using the repository browser.