Add .desktop with icon

This commit is contained in:
Jason Flatt 2023-04-03 06:32:57 -07:00
parent 248a510fd0
commit d3673eba32
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Supermodel
GenericName=Emulator
Comment=A Sega Model 3 Arcade Emulator
Exec=supermodel
Type=Application
Icon=com.supermodel3.Supermodel
Categories=Game;ArcadeGame;Emulator

View file

@ -24,15 +24,20 @@ modules:
-f Makefiles/Makefile.UNIX
NET_BOARD=1
- install -Dm 0755 bin/supermodel ${FLATPAK_DEST}/bin/supermodel
- install -Dm 0644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm 0644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -Dm 0644 supermodel128x128.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- cp -r Assets ${FLATPAK_DEST}
- cp -r Config ${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/trzy/Supermodel.git
branch: master
commit: 6993dfcfb0ebe369f246ff50e3669d4557a527da
- type: file
path: com.supermodel3.Supermodel.desktop
- type: file
path: com.supermodel3.Supermodel.metainfo.xml
- type: file
path: supermodel128x128.png
- type: patch
path: ldflags.patch

BIN
supermodel128x128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB