64 bit only
This commit is contained in:
@@ -51,7 +51,7 @@ if %errorlevel% NEQ 0 (
|
||||
) else (
|
||||
echo Build successful
|
||||
cd /D "%~dp0"
|
||||
copy /y .\beszel\beszel\cmd\agent\agent.exe .
|
||||
copy /y .\beszel\beszel\cmd\agent\agent.exe . >nul 2>&1
|
||||
echo Beszel agent.exe was built and copied, you can proceed with 'install-beszel-service.cmd'.
|
||||
)
|
||||
|
||||
|
@@ -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