adhere to opendesktop menu-spec
Version= is the version of the .desktop file specification!
This commit is contained in:
committed by
Chris Forbes
parent
32daf025ab
commit
43c43e25c4
@@ -23,7 +23,7 @@ cp -R $BUILTDIR/* "$ROOTDIR/usr/share/openra/" || exit 3
|
||||
|
||||
# Desktop Icons
|
||||
mkdir -p $ROOTDIR/usr/share/applications/
|
||||
sed "s/{VERSION}/$VERSION/" openra.desktop > $ROOTDIR/usr/share/applications/openra.desktop
|
||||
desktop-file-install --dir $ROOTDIR/usr/share/applications/ openra.desktop
|
||||
|
||||
mkdir -p $ROOTDIR/usr/share/icons/
|
||||
cp -r hicolor $ROOTDIR/usr/share/icons/
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version={VERSION}
|
||||
Version=1.0
|
||||
Name=OpenRA
|
||||
Comment=Reimagining of Red Alert and Command & Conquer
|
||||
GenericName=Real Time Strategy Game
|
||||
Comment=Reimagining of Red Alert and Tiberian Dawn
|
||||
Icon=openra
|
||||
Exec=/usr/bin/openra
|
||||
Exec=openra
|
||||
Terminal=false
|
||||
Categories=Game;
|
||||
Categories=Game;StrategyGame;
|
||||
Reference in New Issue
Block a user