Skip to content

Commit 38f4260

Browse files
build: add another path
Add another path that the nasm binary could be located in
1 parent 6f3b947 commit 38f4260

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tools/msvs/find_nasm.cmd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ IF EXIST "%USERPROFILE%\NASM\nasm.exe" (
2727
EXIT /B 0
2828
)
2929

30-
30+
IF EXIST "%USERPROFILE%\PortableApps\NASM\nasm.exe" (
31+
ECHO Found NASM in %USERPROFILE%\PortableApps\NASM
32+
SET "Path=%Path%;%USERPROFILE%\PortableApps\NASM"
33+
EXIT /B 0
34+
)
3135

3236
IF EXIST "%USERPROFILE%\scoop\apps\nasm\current\nasm.exe" (
3337
ECHO Found NASM in Scoop installation

0 commit comments

Comments
 (0)