Added "rename-icon" and "--set-icon=${FLATPAK_ID}"

This commit is contained in:
samy-k97 2021-06-19 19:47:15 +01:00
parent fbfc13c6f6
commit 292bc51ecf

View file

@ -4,6 +4,7 @@
"runtime": "org.freedesktop.Platform",
"runtime-version": "20.08",
"sdk": "org.freedesktop.Sdk",
"rename-icon": "ppsspp",
"command": "PPSSPPSDL",
"finish-args": [
"--device=all",
@ -30,7 +31,7 @@
},
"post-install": [
"mv ${FLATPAK_DEST}/share/applications/{PPSSPPSDL,${FLATPAK_ID}}.desktop",
"desktop-file-edit --set-name=PPSSPP ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
"desktop-file-edit --set-name=PPSSPP --set-icon=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
"install -Dm644 appdata.xml ${FLATPAK_DEST}/share/appdata/${FLATPAK_ID}.appdata.xml"
],
"sources": [