added favicon RIVM-40

This commit is contained in:
vadym 2022-12-21 12:37:11 +02:00
parent eeae07c59b
commit 2b9932c36f
2 changed files with 10 additions and 2 deletions

View file

@ -106,6 +106,7 @@ else
exit 1 exit 1
fi fi
cp riv.ico "$PKGUIFOLDER"/favicon.ico
PKG_UI_ASSETS_ZIP=$(pwd)/ui.zip PKG_UI_ASSETS_ZIP=$(pwd)/ui.zip
( cd "$PKGUIFOLDER" && 7z a "$PKG_UI_ASSETS_ZIP" * ) ( cd "$PKGUIFOLDER" && 7z a "$PKG_UI_ASSETS_ZIP" * )
PKG_UI_ASSETS_ZIP=ui.zip PKG_UI_ASSETS_ZIP=ui.zip

View file

@ -84,10 +84,19 @@ then
unzip wintun.zip unzip wintun.zip
fi fi
cp riv.ico "$PKGUIFOLDER"/favicon.ico
PKG_UI_ASSETS_ZIP=$(pwd)/ui.zip PKG_UI_ASSETS_ZIP=$(pwd)/ui.zip
( cd "$PKGUIFOLDER" && 7z a "$PKG_UI_ASSETS_ZIP" * ) ( cd "$PKGUIFOLDER" && 7z a "$PKG_UI_ASSETS_ZIP" * )
PKG_UI_ASSETS_ZIP=ui.zip PKG_UI_ASSETS_ZIP=ui.zip
#Build winres
go-winres simply --icon riv.ico --file-version $PKGVERSION --file-description "RiV-mesh (c) service, 2022 RIV CHAIN" \
--product-version $PKGVERSION --product-name "RiV-mesh" --copyright "Copyright (c) 2022, RIV CHAIN"
cp *.syso cmd/mesh
go-winres simply --file-version $PKGVERSION --file-description "RiV-mesh (c) CLI, 2022 RIV CHAIN" \
--product-version $PKGVERSION --product-name "RiV-mesh" --copyright "Copyright (c) 2022, RIV CHAIN" --manifest cli
cp *.syso cmd/meshctl
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
@ -208,7 +217,6 @@ cat > wix.xml << EOF
KeyPath="yes"/> KeyPath="yes"/>
</Component> </Component>
<Component Id="UIExecutable" Guid="ef9f30e0-8274-4526-835b-51bc09b5b1b7"> <Component Id="UIExecutable" Guid="ef9f30e0-8274-4526-835b-51bc09b5b1b7">
<File <File
Id="UiAssets" Id="UiAssets"
@ -217,7 +225,6 @@ cat > wix.xml << EOF
Source="${PKG_UI_ASSETS_ZIP}" /> Source="${PKG_UI_ASSETS_ZIP}" />
</Component> </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"