Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
VSNASM
=============

[![Github All Releases](https://img.shields.io/github/downloads/ShiftMediaProject/VSNASM/total.svg)](https://github.com/ShiftMediaProject/VSNASM/releases)
[![GitHub release](https://img.shields.io/github/release/ShiftMediaProject/VSNASM.svg)](https://github.com/ShiftMediaProject/VSNASM/releases/latest)
[![GitHub issues](https://img.shields.io/github/issues/ShiftMediaProject/VSNASM.svg)](https://github.com/ShiftMediaProject/VSNASM/issues)
Expand Down
18 changes: 10 additions & 8 deletions install_script.bat
Original file line number Diff line number Diff line change
Expand Up @@ -309,18 +309,20 @@ if %ERRORLEVEL% neq 0 (
echo Ensure that this script is run in a shell with the necessary write privileges
goto Terminate
)
REM Check if nasm is alredy found before trying to download it
REM Check if nasm is already found before trying to download it
echo Checking for existing NASM in NASMPATH...
%NASMPATH%\nasm.exe -v >nul 2>&1
if %ERRORLEVEL% equ 0 (
echo Using existing NASM binary from %NASMPATH%...
goto SkipInstallNASM
) else (
echo ..existing NASM not found in NASMPATH.
if exist "%NASMPATH%\nasm.exe" (
"%NASMPATH%\nasm.exe" -v >nul 2>&1
if %ERRORLEVEL% equ 0 (
echo "Using existing NASM binary from %NASMPATH%\nasm.exe..."
goto SkipInstallNASM
) else (
echo "..existing NASM not found in NASMPATH=%NASMPATH%."
)
)
REM Download the latest nasm binary for windows
if exist "%SCRIPTDIR%\nasm_%NASMVERSION%.zip" (
echo Using existing NASM archive...
echo Using existing NASM installer archive...
goto InstallNASM
)
set NASMDOWNLOAD=%NASMDL%/%NASMVERSION%/win%SYSARCH%/nasm-%NASMVERSION%-win%SYSARCH%.zip
Expand Down