echo "Updating the dependencies" go get go get -u github.com/mailru/easyjson/... echo "Updating Gosora" git stash git pull origin master git stash apply echo "Patching Gosora" go generate go build -o Patcher "./patcher" ./Patcher