go-winres fix

This commit is contained in:
vadym 2021-09-20 12:20:09 +03:00
parent a2d65f1f94
commit b91eb5b630
2 changed files with 9 additions and 3 deletions

View file

@ -49,8 +49,9 @@ fi
which go
#install go-winres
go install github.com/tc-hib/go-winres@latest
~/go/bin/go-winres init
#go install github.com/tc-hib/go-winres@latest
go-winres init
# Build Mesh!
[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ LDFLAGS="-H windowsgui" ./build
[ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ LDFLAGS="-H windowsgui" ./build