mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
20 lines
344 B
Batchfile
20 lines
344 B
Batchfile
|
@IF NOT DEFINED DEBUG_HELPER @ECHO OFF
|
||
|
|
||
|
ECHO Looking for NASM
|
||
|
|
||
|
FOR /F "delims=" %%a IN ('where nasm 2^> NUL') DO (
|
||
|
EXIT /B 0
|
||
|
)
|
||
|
|
||
|
IF EXIST "%ProgramFiles%\NASM\nasm.exe" (
|
||
|
SET "Path=%Path%;%ProgramFiles%\NASM"
|
||
|
EXIT /B 0
|
||
|
)
|
||
|
|
||
|
IF EXIST "%ProgramFiles(x86)%\NASM\nasm.exe" (
|
||
|
SET "Path=%Path%;%ProgramFiles(x86)%\NASM"
|
||
|
EXIT /B 0
|
||
|
)
|
||
|
|
||
|
EXIT /B 1
|