scripts: flatpak: try to add ourselves to desktop menu entries

This commit is contained in:
Alibek Omarov 2023-02-05 02:25:21 +03:00
parent 0ffd1b9ff1
commit 00ddd95c27
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Categories=Game;Shooter;
Comment=Half-Life compatible game engine
Exec=
Icon=su.xash.Engine.Compat.i386
Keywords=first;person;shooter;multiplayer;half-life;halflife;singleplayer;
Name=Xash3D FWGS
PrefersNonDefaultGPU=true
Terminal=false
Type=Application

View File

@ -76,7 +76,11 @@ modules:
python waf build
python waf install --destdir=/
mkdir -p /app/bin
mkdir -p /app/share/icons/hicolor/256x256/apps/
mkdir -p /app/share/applications
install -m 0755 scripts/flatpak/run.sh /app/bin/run.sh
install -m 0644 game_launch/icon-xash-material.png /app/share/icons/hicolor/256x256/apps/su.xash.Engine.Compat.i386.png
install -m 0644 scripts/flatpak/su.xash.Engine.Compat.i386.desktop /app/share/applications/su.xash.Engine.Compat.i386.desktop
sources:
- type: dir
path: ../../