From ac807842fd97e4da6996723ea69b9a7e36843975 Mon Sep 17 00:00:00 2001 From: Nayla Date: Sun, 23 Apr 2023 19:33:23 -0400 Subject: [PATCH] Update flatpak.yml --- .flatpak/flatpak.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.flatpak/flatpak.yml b/.flatpak/flatpak.yml index 703edbafde..394e649809 100644 --- a/.flatpak/flatpak.yml +++ b/.flatpak/flatpak.yml @@ -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