File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ PKGVERSION=$(sh contrib/msi/msversion.sh --bare)
5353PKGVERSIONMS=$( echo $PKGVERSION | tr - .)
5454PKGINDEXFILE=contrib/ui/mesh-ui/index.html
5555PKGLICENSEFILE=LICENSE.rtf
56+ GUIDEBUG=" ON"
5657
5758# Build winres
5859go-winres simply --icon riv.ico --file-version $PKGVERSION --file-description " RiV-mesh (c) service, 2021 RIV CHAIN" \
@@ -66,9 +67,13 @@ go-winres simply --file-version $PKGVERSION --file-description "RiV-mesh (c) CLI
6667cp * .syso cmd/meshctl
6768
6869# Build Mesh!
69- [ " ${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
70- [ " ${PKGARCH} " == " x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ LDFLAGS=" -H windowsgui" ./build
71- [ " ${PKGARCH} " == " arm" ] && GOOS=windows GOARCH=arm CGO_ENABLED=0 ./build
70+ [ " ${PKGARCH} " == " x64" && " ${GUIDEBUG} " == " OFF" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ LDFLAGS=" -H windowsgui" ./build
71+ [ " ${PKGARCH} " == " x86" && " ${GUIDEBUG} " == " OFF" ] && GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ LDFLAGS=" -H windowsgui" ./build
72+ [ " ${PKGARCH} " == " arm" && " ${GUIDEBUG} " == " OFF" ] && GOOS=windows GOARCH=arm CGO_ENABLED=0 ./build
73+
74+ [ " ${PKGARCH} " == " x64" && " ${GUIDEBUG} " == " ON" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ ./build
75+ [ " ${PKGARCH} " == " x86" && " ${GUIDEBUG} " == " ON" ] && GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ ./build
76+ [ " ${PKGARCH} " == " arm" && " ${GUIDEBUG} " == " ON" ] && GOOS=windows GOARCH=arm CGO_ENABLED=0 ./build
7277# [ "${PKGARCH}" == "arm64" ] && GOOS=windows GOARCH=arm64 CGO_ENABLED=0 ./build
7378
7479# Create the postinstall script
You can’t perform that action at this time.
0 commit comments