mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 08:25:07 +03:00
removed unnecessary dlls
This commit is contained in:
parent
749cddae69
commit
e7ea9a9b1e
1 changed files with 4 additions and 21 deletions
|
@ -67,8 +67,8 @@ go-winres simply --file-version $PKGVERSION --file-description "RiV-mesh (c) CLI
|
||||||
cp *.syso cmd/meshctl
|
cp *.syso cmd/meshctl
|
||||||
|
|
||||||
# Build Mesh!
|
# Build Mesh!
|
||||||
[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ ./build
|
[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=0 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ ./build
|
||||||
[ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ ./build
|
[ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=0 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ ./build
|
||||||
[ "${PKGARCH}" == "arm" ] && GOOS=windows GOARCH=arm CGO_ENABLED=0 ./build
|
[ "${PKGARCH}" == "arm" ] && GOOS=windows GOARCH=arm CGO_ENABLED=0 ./build
|
||||||
|
|
||||||
# Create the postinstall script
|
# Create the postinstall script
|
||||||
|
@ -95,12 +95,8 @@ then
|
||||||
fi
|
fi
|
||||||
if [ $PKGARCH = "x64" ]; then
|
if [ $PKGARCH = "x64" ]; then
|
||||||
PKGWINTUNDLL=wintun/bin/amd64/wintun.dll
|
PKGWINTUNDLL=wintun/bin/amd64/wintun.dll
|
||||||
PKGWEBVIEWFILE=contrib/ui/mesh-ui/dll/x64/webview.dll
|
|
||||||
PKGWEBVIEWFILELOADER=contrib/ui/mesh-ui/dll/x64/WebView2Loader.dll
|
|
||||||
elif [ $PKGARCH = "x86" ]; then
|
elif [ $PKGARCH = "x86" ]; then
|
||||||
PKGWINTUNDLL=wintun/bin/x86/wintun.dll
|
PKGWINTUNDLL=wintun/bin/x86/wintun.dll
|
||||||
PKGWEBVIEWFILE=contrib/ui/mesh-ui/dll/x86/webview.dll
|
|
||||||
PKGWEBVIEWFILELOADER=contrib/ui/mesh-ui/dll/x86/WebView2Loader.dll
|
|
||||||
elif [ $PKGARCH = "arm" ]; then
|
elif [ $PKGARCH = "arm" ]; then
|
||||||
PKGWINTUNDLL=wintun/bin/arm/wintun.dll
|
PKGWINTUNDLL=wintun/bin/arm/wintun.dll
|
||||||
#elif [ $PKGARCH = "arm64" ]; then
|
#elif [ $PKGARCH = "arm64" ]; then
|
||||||
|
@ -209,18 +205,6 @@ cat > wix.xml << EOF
|
||||||
DiskId="1"
|
DiskId="1"
|
||||||
Source="mesh-ui.exe"
|
Source="mesh-ui.exe"
|
||||||
KeyPath="yes" />
|
KeyPath="yes" />
|
||||||
<File
|
|
||||||
Id="WebViewDllFile"
|
|
||||||
Name="webview.dll"
|
|
||||||
DiskId="1"
|
|
||||||
Source="${PKGWEBVIEWFILE}" />
|
|
||||||
|
|
||||||
<File
|
|
||||||
Id="WebViewLoaderFile"
|
|
||||||
Name="WebView2Loader.dll"
|
|
||||||
DiskId="1"
|
|
||||||
Source="${PKGWEBVIEWFILELOADER}" />
|
|
||||||
|
|
||||||
<File
|
<File
|
||||||
Id="UiAssets"
|
Id="UiAssets"
|
||||||
Name="ui.zip"
|
Name="ui.zip"
|
||||||
|
@ -238,7 +222,6 @@ cat > wix.xml << EOF
|
||||||
Source="updateconfig.bat"
|
Source="updateconfig.bat"
|
||||||
KeyPath="yes"/>
|
KeyPath="yes"/>
|
||||||
</Component>
|
</Component>
|
||||||
|
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue