64 bit only
This commit is contained in:
@@ -31,11 +31,7 @@ curl.exe --output "%TEMP%\nssm-2.24.zip" --url https://nssm.cc/release/nssm-2.24
|
||||
echo Extracting ZIP file
|
||||
tar.exe -xf %TEMP%\nssm-2.24.zip >nul 2>&1
|
||||
echo Copying nssm.exe to %DESTINATIONDIR%
|
||||
if %PROCESSOR_ARCHITECTURE%==AMD64 (
|
||||
copy .\nssm-2.24\win64\nssm.exe "%DESTINATIONDIR%\" >nul 2>&1
|
||||
) else (
|
||||
copy .\nssm-2.24\win32\nssm.exe "%DESTINATIONDIR%\" >nul 2>&1
|
||||
)
|
||||
copy .\nssm-2.24\win64\nssm.exe "%DESTINATIONDIR%\" >nul 2>&1
|
||||
set NSSMEXE="%DESTINATIONDIR%\nssm.exe"
|
||||
echo Deleting temporary files and directories
|
||||
del "%TEMP%\nssm-2.24.zip" >nul 2>&1
|
||||
|
Reference in New Issue
Block a user