Skip to content

Commit

Permalink
Fix desktop file for AppImage creation, and modify changeversion scri…
Browse files Browse the repository at this point in the history
…pt accordingly.
  • Loading branch information
trisyoungs committed Oct 22, 2018
1 parent d785e27 commit 520fa09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions changeversion
Original file line number Diff line number Diff line change
Expand Up @@ -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

Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 520fa09

Please sign in to comment.