From 1c00871e80181441b5041a53904e78584a4ae104 Mon Sep 17 00:00:00 2001 From: Syping Date: Tue, 25 Aug 2020 20:11:45 +0200 Subject: [PATCH] [skip ci] add correct version number to gta5view.desktop --- .ci/ci.sh | 5 ++++- .ci/gta5view.desktop | 12 ++++++++++++ res/gta5view.desktop | 5 +++-- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .ci/gta5view.desktop diff --git a/.ci/ci.sh b/.ci/ci.sh index 966bedb..e87e19d 100755 --- a/.ci/ci.sh +++ b/.ci/ci.sh @@ -12,7 +12,6 @@ export EXECUTABLE_VERSION=${PACKAGE_VERSION}${PACKAGE_BUILD}${EXECUTABLE_TAG} export APPLICATION_MAJOR_VERSION=$(cut -d. -f1 <<< $APPLICATION_VERSION) export APPLICATION_MINOR_VERSION=$(cut -d. -f2 <<< $APPLICATION_VERSION) export APPLICATION_PATCH_VERSION=$(cut -d. -f3 <<< $APPLICATION_VERSION) -export APPLICATION_BUILD_YEAR=$(date "+%Y") if [ "${PACKAGE_BUILD}" == "" ]; then export PACKAGE_BUILD=1 @@ -30,6 +29,10 @@ cat ".ci/app.rc" | sed \ -e "s/STR_BUILD_VER/$APPLICATION_BUILD_STR_VERSION/g" \ > "res/app.rc" +cat ".ci/gta5view.desktop" | sed \ + -e "s/PKGAPP_VER/$PACKAGE_VERSION/g" \ + > "res/gta5view.desktop" + if [ "${BUILD_TYPE}" == "ALPHA" ]; then export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_ALPHA" elif [ "${BUILD_TYPE}" == "Alpha" ]; then diff --git a/.ci/gta5view.desktop b/.ci/gta5view.desktop new file mode 100644 index 0000000..ad1f023 --- /dev/null +++ b/.ci/gta5view.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=PKGAPP_VER +Encoding=UTF-8 +Type=Application +Name=gta5view +Comment=Open and edit GTA V profiles +Comment[de]=GTA V Profile öffnen und bearbeiten +Categories=Qt;Application;Utility; +Exec=gta5view +Icon=gta5view +Terminal=false +StartupNotify=false diff --git a/res/gta5view.desktop b/res/gta5view.desktop index 75a37f3..91ff4d5 100644 --- a/res/gta5view.desktop +++ b/res/gta5view.desktop @@ -1,9 +1,10 @@ [Desktop Entry] -Version=1.6 +Version=1.8 Encoding=UTF-8 Type=Application Name=gta5view -Comment=gta5view +Comment=Open and edit GTA V profiles +Comment[de]=GTA V Profile öffnen und bearbeiten Categories=Qt;Application;Utility; Exec=gta5view Icon=gta5view