64 bit only

This commit is contained in:
2025-01-19 18:23:09 +01:00
parent 24a6e7678e
commit 43a65926fe
2 changed files with 2 additions and 6 deletions

View File

@@ -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'.
)

View File

@@ -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
)
set NSSMEXE="%DESTINATIONDIR%\nssm.exe"
echo Deleting temporary files and directories
del "%TEMP%\nssm-2.24.zip" >nul 2>&1