Update flatpak.yml

This commit is contained in:
Nayla 2023-04-23 19:33:23 -04:00 committed by GitHub
commit ac807842fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,10 @@ command: dolphin-emu-wrapper
rename-desktop-file: dolphin-emu.desktop
rename-icon: dolphin-emu
finish-args:
- --device=all
- --device=all # need for controllers
# the file picker uses portals but the set
# game directory feature still needs this
- --filesystem=host:rw
- --filesystem=host:r
- --socket=pulseaudio
- --env=QT_QPA_PLATFORM=xcb
- --socket=x11
@ -101,12 +101,15 @@ modules:
- -DENABLE_ALSA=OFF
- -DENABLE_SDL=ON
- -DENABLE_EVDEV=ON
- -DLINUX_LOCAL_DEV=0
- -DDISTRIBUTOR=Mario Party Netplay
- -DCPACK_PACKAGE_CONTACT=Mario Party Netplay
cleanup:
- /share/man
post-install:
- install -D -t ${FLATPAK_DEST}/bin/ dolphin-emu-wrapper
- install -D ${FLATPAK_DEST}/share/dolphin-emu/user/ ${FLATPAK_DEST}/bin/user
- install -D ${FLATPAK_DEST}/share/dolphin-emu/sys/ ${FLATPAK_DEST}/bin/sys
- desktop-file-edit --set-key=Exec --set-value='/app/bin/dolphin-emu-wrapper'
/app/share/applications/dolphin-emu.desktop
sources:
@ -125,5 +128,6 @@ modules:
test -S $XDG_RUNTIME_DIR/discord-ipc-$i ||
ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
done
touch portable.txt
dolphin-emu "$@"
dest-filename: dolphin-emu-wrapper