Remove clones repository, add some instructions
This commit is contained in:
@@ -49,10 +49,19 @@ go build -ldflags "-w -s" . >nul 2>&1
|
||||
if %errorlevel% NEQ 0 (
|
||||
echo Something went wrong
|
||||
) else (
|
||||
echo Build successful
|
||||
echo Build was successful
|
||||
cd /D "%~dp0"
|
||||
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'.
|
||||
rd /s/q .\beszel >nul 2>&1
|
||||
echo Cloned Beszel repository was deleted as we don´t need it anymore.
|
||||
echo.
|
||||
echo You can go ahead with .\install-beszel-service.cmd to install the service.
|
||||
echo .
|
||||
echo If Git ond/or Go was installed from this script and you don´t want to keep them, use
|
||||
echo winget uninstall GoLang.Go
|
||||
echo winget uninstall Git.Git
|
||||
echo to remove the corresponding packages.
|
||||
)
|
||||
|
||||
:end
|
||||
|
Reference in New Issue
Block a user