From 53858cfb3ddbdbcc181c352ddf44c3066346fc5e Mon Sep 17 00:00:00 2001 From: vadym Date: Mon, 20 Sep 2021 11:48:29 +0300 Subject: [PATCH] added winres --- contrib/msi/build-msi.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/msi/build-msi.sh b/contrib/msi/build-msi.sh index 50bc2e31..06211230 100755 --- a/contrib/msi/build-msi.sh +++ b/contrib/msi/build-msi.sh @@ -5,7 +5,7 @@ # the system and within the PATH. This is ran currently by Appveyor (see # appveyor.yml in the repository root) for both x86 and x64. # -# Author: Neil Alexander +# Author: Neil Alexander , Vadym Vikulin # Get arch from command line if given PKGARCH=$1 @@ -46,7 +46,9 @@ then exit 1 ) fi - +#install go-winres +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