@echo off
echo Updating the dependencies
go get
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Building the updater
go generate
go build -ldflags="-s -w" ./updater
updater.exe