mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 08:25:07 +03:00
added ui resources
This commit is contained in:
parent
72bbdbe509
commit
47b8d749c3
1 changed files with 15 additions and 0 deletions
|
@ -81,6 +81,11 @@ then
|
||||||
curl -o wintun.zip https://www.wintun.net/builds/wintun-0.14.1.zip
|
curl -o wintun.zip https://www.wintun.net/builds/wintun-0.14.1.zip
|
||||||
unzip wintun.zip
|
unzip wintun.zip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PKG_UI_ASSETS_ZIP=$(pwd)/ui.zip
|
||||||
|
( cd "$PKGUIFOLDER" && 7z a "$PKG_UI_ASSETS_ZIP" * )
|
||||||
|
PKG_UI_ASSETS_ZIP=ui.zip
|
||||||
|
|
||||||
if [ $PKGARCH = "x64" ]; then
|
if [ $PKGARCH = "x64" ]; then
|
||||||
PKGWINTUNDLL=wintun/bin/amd64/wintun.dll
|
PKGWINTUNDLL=wintun/bin/amd64/wintun.dll
|
||||||
elif [ $PKGARCH = "x86" ]; then
|
elif [ $PKGARCH = "x86" ]; then
|
||||||
|
@ -202,6 +207,16 @@ cat > wix.xml << EOF
|
||||||
KeyPath="yes"/>
|
KeyPath="yes"/>
|
||||||
</Component>
|
</Component>
|
||||||
|
|
||||||
|
|
||||||
|
<Component Id="UIExecutable" Guid="ef9f30e0-8274-4526-835b-51bc09b5b1b7">
|
||||||
|
<File
|
||||||
|
Id="UiAssets"
|
||||||
|
Name="ui.zip"
|
||||||
|
DiskId="1"
|
||||||
|
Source="${PKG_UI_ASSETS_ZIP}" />
|
||||||
|
</Component>
|
||||||
|
|
||||||
|
|
||||||
<Component Id="ConfigScript" Guid="64a3733b-c98a-4732-85f3-20cd7da1a785">
|
<Component Id="ConfigScript" Guid="64a3733b-c98a-4732-85f3-20cd7da1a785">
|
||||||
<File
|
<File
|
||||||
Id="Configbat"
|
Id="Configbat"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue