Remove clones repository, add some instructions

This commit is contained in:
2025-01-28 10:20:04 +01:00
parent a156ae0c08
commit 530e59e3e1
2 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
/*.pdf /*.pdf
/*.zip /*.zip
*.exe

View File

@@ -49,10 +49,19 @@ go build -ldflags "-w -s" . >nul 2>&1
if %errorlevel% NEQ 0 ( if %errorlevel% NEQ 0 (
echo Something went wrong echo Something went wrong
) else ( ) else (
echo Build successful echo Build was successful
cd /D "%~dp0" cd /D "%~dp0"
copy /y .\beszel\beszel\cmd\agent\agent.exe . >nul 2>&1 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'. 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 :end