github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/experimental/new-update.bat (about) 1 @echo off 2 3 echo Updating the dependencies 4 go get 5 if %errorlevel% neq 0 ( 6 pause 7 exit /b %errorlevel% 8 ) 9 10 echo Building the updater 11 go generate 12 go build -ldflags="-s -w" ./updater 13 if %errorlevel% neq 0 ( 14 pause 15 exit /b %errorlevel% 16 ) 17 updater.exe