From 520fa09dc9c6fe3045246df6c640b72de17ef4e1 Mon Sep 17 00:00:00 2001 From: Tristan Youngs Date: Mon, 22 Oct 2018 14:10:06 +0100 Subject: [PATCH] Fix desktop file for AppImage creation, and modify changeversion script accordingly. --- changeversion | 12 ++++++------ .../share/applications/com.projectaten.Aten.desktop | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/changeversion b/changeversion index ff8a6bcba..79d621354 100755 --- a/changeversion +++ b/changeversion @@ -108,12 +108,12 @@ echo -n " aten.iss (Output Filename) : " grep 'OutputBaseFilename' extra/Win32/aten.iss | sed -e 's/OutputBaseFilename=Aten-\([0-9\.]*\)/\1/g' # AppImage build files -if [ "$TEST" = "false" ] -then - sed -i -e "s/Version=[0-9\.]*/Version=$MAJOR.$MINOR.$PATCH/g" extra/appimage/usr/share/applications/com.projectaten.Aten.desktop -fi -echo -n "appimage.desktop (Program Version) : " -grep 'Version=' extra/appimage/usr/share/applications/com.projectaten.Aten.desktop | sed -e 's/Version=\([0-9\.]*\)/\1/g' +#if [ "$TEST" = "false" ] +#then +# sed -i -e "s/Version=[0-9\.]*/Version=$MAJOR.$MINOR.$PATCH/g" extra/appimage/usr/share/applications/com.projectaten.Aten.desktop +#fi +#echo -n "appimage.desktop (Program Version) : " +#grep 'Version=' extra/appimage/usr/share/applications/com.projectaten.Aten.desktop | sed -e 's/Version=\([0-9\.]*\)/\1/g' exit 0 diff --git a/extra/appimage/usr/share/applications/com.projectaten.Aten.desktop b/extra/appimage/usr/share/applications/com.projectaten.Aten.desktop index f4015f405..860403171 100644 --- a/extra/appimage/usr/share/applications/com.projectaten.Aten.desktop +++ b/extra/appimage/usr/share/applications/com.projectaten.Aten.desktop @@ -1,13 +1,11 @@ [Desktop Entry] -Version=2.1.9 -Encoding=UTF-8 Comment=Aten - Atomic configuration builder and editor Exec=aten %f GenericName=Aten Icon=aten Name=Aten StartupNotify=false -Terminal=0 +Terminal=false Type=Application Categories=Education;Chemistry; X-SuSE-translate=false