From 2058337792fd33ba88e265d137d9edd1c7b0d33c Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 26 Jul 2024 08:46:44 +0900 Subject: [PATCH] CEMU: added wrapper + RPCS3 fixes --- net.retrodeck.retrodeck.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 7405c641..ce148178 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -504,8 +504,8 @@ modules: - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug" - mkdir -p ${FLATPAK_DEST}/lib/ffmpeg # Needed for a ffmpeg bufgix - mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - - cp -r squashfs-root/usr/bin* "${FLATPAK_DEST}/bin" - - cp -r squashfs-root/usr/share* "${FLATPAK_DEST}/share" + - cp -r "squashfs-root/usr/bin/"* "${FLATPAK_DEST}/bin/" + - cp -r "squashfs-root/usr/share/"* "${FLATPAK_DEST}/share/" #TODO: - cp -r squashfs-root/usr/optional* # maybe already included in flatpak runtime #TODO: - cp -r squashfs-root/usr/plugins* # maybe already included in qt #TODO: Do we need this wrapper? squashfs-root/apprun-hooks/linuxdeploy-plugin-qt-hook.sh @@ -570,6 +570,17 @@ modules: - type: file url: https://github.com/cemu-project/Cemu/releases/download/v2.0-88/Cemu-2.0-88-x86_64.AppImage sha256: 1af1ad5322df5fa0e2a97588c7486604daf42deb8c4d07a2b885047d9701fed0 + - type: script + commands: + - | + for d in DiscordCanary Discord; do + for i in {0..9}; do + test -S $XDG_RUNTIME_DIR/discord-ipc-$i || + ln -sf {app/com.discordapp.$d,$XDG_RUNTIME_DIR}/discord-ipc-$i; + done + done + Cemu_relwithdebinfo "$@" + dest-filename: /app/bin/Cemu-wrapper # Cemu - END