|
@@ -16,7 +16,7 @@ VERSION_QUAD=$(printf "%s" "$VERSION" | sed -re 's/^([0-9.]*).*$/\1/' | sed -re
|
|
|
# Microsoft Windows Version Information and an icon using go-winres.
|
|
|
# https://docs.microsoft.com/en-us/windows/win32/menurc/stringfileinfo-block
|
|
|
# https://github.com/tc-hib/go-winres#json-format
|
|
|
-cat > "./cli/winresources/${BINARY_SHORT_NAME}/winres.json" << EOL
|
|
|
+cat > "./cli/winresources/${BINARY_NAME}/winres.json" << EOL
|
|
|
{
|
|
|
"RT_GROUP_ICON": {
|
|
|
"#1": {
|
|
@@ -76,10 +76,10 @@ cat > "./cli/winresources/${BINARY_SHORT_NAME}/winres.json" << EOL
|
|
|
EOL
|
|
|
(
|
|
|
set -x
|
|
|
- cat "./cli/winresources/${BINARY_SHORT_NAME}/winres.json"
|
|
|
+ cat "./cli/winresources/${BINARY_NAME}/winres.json"
|
|
|
)
|
|
|
|
|
|
# Create winresources package stub if removed while using tmpfs in Dockerfile
|
|
|
-if [ ! -f "./cli/winresources/${BINARY_SHORT_NAME}/winresources.go" ]; then
|
|
|
- echo "package winresources" > "./cli/winresources/${BINARY_SHORT_NAME}/winresources.go"
|
|
|
+if [ ! -f "./cli/winresources/${BINARY_NAME}/winresources.go" ]; then
|
|
|
+ echo "package winresources" > "./cli/winresources/${BINARY_NAME}/winresources.go"
|
|
|
fi
|