Update Windows-Resource-Erzeugung

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@85 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
hoeppie 2017-02-12 00:33:37 +00:00
parent 899f8c3b0c
commit 2e0c8fc9f0

View File

@ -11,12 +11,12 @@ function pause()
read -p "Weiter mit Eingabe" $a read -p "Weiter mit Eingabe" $a
} }
FILE="resource.rc" FILE="resource.rc"
RELEASE=`grep "define RELEASE" ../acme.c | cut -f3` RELEASE=`grep "define RELEASE" ../version.h | cut -f3`
RELEASE=${RELEASE//\"/} RELEASE=${RELEASE//\"/}
DEBUG echo $RELEASE DEBUG echo $RELEASE
VERSION=${RELEASE//./,},0 VERSION=${RELEASE//./,},0
DEBUG echo $VERSION DEBUG echo $VERSION
CODENAME=`grep "define CODENAME" ../acme.c | cut -f2` CODENAME=`grep "define CODENAME" ../vesion.h | cut -f2`
DEBUG echo $CODENAME DEBUG echo $CODENAME
FILEVERSION=\""$RELEASE ${CODENAME//\"/}"\" FILEVERSION=\""$RELEASE ${CODENAME//\"/}"\"
DEBUG echo $FILEVERSION DEBUG echo $FILEVERSION
@ -43,7 +43,7 @@ BEGIN
VALUE "FileDescription", "Acme crossassembler" VALUE "FileDescription", "Acme crossassembler"
VALUE "FileVersion", $FILEVERSION VALUE "FileVersion", $FILEVERSION
VALUE "InternalName", "ACME crossassembler" VALUE "InternalName", "ACME crossassembler"
VALUE "LegalCopyright", "Copyright Š 2013 Marco Baye" VALUE "LegalCopyright", "Copyright © 2015 Marco Baye"
VALUE "OriginalFilename", "acme.exe" VALUE "OriginalFilename", "acme.exe"
VALUE "ProductName", "ACME Crossassembler" VALUE "ProductName", "ACME Crossassembler"
VALUE "ProductVersion", $FILEVERSION VALUE "ProductVersion", $FILEVERSION