Browse Source

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

pull/2/head
Alibek Omarov 2 years ago
parent
commit
00ddd95c27
  1. 10
      scripts/flatpak/su.xash.Engine.Compat.i386.desktop
  2. 4
      scripts/flatpak/su.xash.Engine.Compat.i386.yml

10
scripts/flatpak/su.xash.Engine.Compat.i386.desktop

@ -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

4
scripts/flatpak/su.xash.Engine.Compat.i386.yml

@ -76,7 +76,11 @@ modules:
python waf build python waf build
python waf install --destdir=/ python waf install --destdir=/
mkdir -p /app/bin 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 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: sources:
- type: dir - type: dir
path: ../../ path: ../../

Loading…
Cancel
Save