[gnome-games/wip/exalm/dolphin-settings: 2/6] flatpak: Install Dolphin's Sys folder into a global system directory




commit fe37698f79cd708e180307abaa57c312bac1d907
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Apr 12 02:27:16 2021 +0500

    flatpak: Install Dolphin's Sys folder into a global system directory

 flatpak/libretro-cores/libretro-dolphin.json | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/flatpak/libretro-cores/libretro-dolphin.json b/flatpak/libretro-cores/libretro-dolphin.json
index f6a02f15..0f0b0861 100644
--- a/flatpak/libretro-cores/libretro-dolphin.json
+++ b/flatpak/libretro-cores/libretro-dolphin.json
@@ -11,7 +11,16 @@
             "post-install": [
                 "mkdir -p /app/lib/libretro/",
                 "install -m644 -p dolphin_libretro.so /app/lib/libretro/",
-                "install -m644 -p dolphin.libretro /app/lib/libretro/"
+                "install -m644 -p dolphin.libretro /app/lib/libretro/",
+
+                "mkdir -p /app/share/gnome-games/system/GameCube/dolphin-emu",
+                "cp -R Data/Sys /app/share/gnome-games/system/GameCube/dolphin-emu/",
+
+                "mkdir -p /app/share/gnome-games/system/Wii",
+                "mkdir -p /app/share/gnome-games/system/WiiWare",
+
+                "ln -s ../GameCube/dolphin-emu /app/share/gnome-games/system/Wii",
+                "ln -s ../GameCube/dolphin-emu /app/share/gnome-games/system/WiiWare"
             ],
             "sources": [
                 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]