mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
added file metadata
This commit is contained in:
parent
b1a9556263
commit
0705bd4a6c
1 changed files with 8 additions and 8 deletions
|
@ -47,8 +47,15 @@ then
|
|||
)
|
||||
fi
|
||||
|
||||
# Work out metadata for the package info
|
||||
PKGNAME=$(sh contrib/semver/name.sh)
|
||||
PKGVERSION=$(sh contrib/msi/msversion.sh --bare)
|
||||
PKGVERSIONMS=$(echo $PKGVERSION | tr - .)
|
||||
PKGINDEXFILE=contrib/ui/mesh-ui/index.html
|
||||
PKGLICENSEFILE=LICENSE.rtf
|
||||
|
||||
#Build winres
|
||||
go-winres simply --icon riv.ico
|
||||
go-winres simply --icon riv.ico --file-version $PKGVERSION --file-description "RiV-mesh (c), 2021 RIV CHAIN" --product-version $PKGVERSION --product-name "RiV-mesh" --copyright "Copyright (c) 2021, RIV CHAIN"
|
||||
cp *.syso cmd/mesh
|
||||
cp *.syso contrib/ui/mesh-ui
|
||||
|
||||
|
@ -70,13 +77,6 @@ if not exist %ALLUSERSPROFILE%\\RiV-mesh\\mesh.conf (
|
|||
)
|
||||
EOF
|
||||
|
||||
# Work out metadata for the package info
|
||||
PKGNAME=$(sh contrib/semver/name.sh)
|
||||
PKGVERSION=$(sh contrib/msi/msversion.sh --bare)
|
||||
PKGVERSIONMS=$(echo $PKGVERSION | tr - .)
|
||||
PKGINDEXFILE=contrib/ui/mesh-ui/index.html
|
||||
PKGLICENSEFILE=LICENSE.rtf
|
||||
|
||||
[ "${PKGARCH}" == "x64" ] && \
|
||||
PKGGUID="77757838-1a23-40a5-a720-c3b43e0260cc" PKGINSTFOLDER="ProgramFiles64Folder" || \
|
||||
PKGGUID="54a3294e-a441-4322-aefb-3bb40dd022bb" PKGINSTFOLDER="ProgramFilesFolder"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue