Redirect tar output

This commit is contained in:
2025-01-19 13:39:34 +01:00
parent f5808f4461
commit 9e6ba0da51

View File

@@ -18,7 +18,7 @@ goto proceed
echo Downloading NSSM echo Downloading NSSM
curl.exe --output "%TEMP%\nssm-2.24.zip" --url https://nssm.cc/release/nssm-2.24.zip >nul 2>&1 curl.exe --output "%TEMP%\nssm-2.24.zip" --url https://nssm.cc/release/nssm-2.24.zip >nul 2>&1
echo Extracting ZIP file echo Extracting ZIP file
tar.exe -xf %TEMP%\nssm-2.24.zip tar.exe -xf %TEMP%\nssm-2.24.zip >nul 2>&1
echo Copying nssm.exe to %DESTINATIONDIR% echo Copying nssm.exe to %DESTINATIONDIR%
if %PROCESSOR_ARCHITECTURE%==AMD64 ( if %PROCESSOR_ARCHITECTURE%==AMD64 (
copy .\nssm-2.24\win64\nssm.exe "%DESTINATIONDIR%\" >nul 2>&1 copy .\nssm-2.24\win64\nssm.exe "%DESTINATIONDIR%\" >nul 2>&1