Added support for Flatpaks intalled in the home directory.

This commit is contained in:
Leon Styhre 2022-04-04 22:15:46 +02:00
parent d871ff4929
commit 6e8aa43462

View file

@ -9,6 +9,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.libretro.RetroArch</entry> <entry>/var/lib/flatpak/exports/bin/org.libretro.RetroArch</entry>
<entry>~/.local/share/flatpak/exports/bin/org.libretro.RetroArch</entry>
<entry>~/Applications/RetroArch-Linux-x86_64.AppImage</entry> <entry>~/Applications/RetroArch-Linux-x86_64.AppImage</entry>
<entry>~/.local/bin/RetroArch-Linux-x86_64.AppImage</entry> <entry>~/.local/bin/RetroArch-Linux-x86_64.AppImage</entry>
<entry>~/bin/RetroArch-Linux-x86_64.AppImage</entry> <entry>~/bin/RetroArch-Linux-x86_64.AppImage</entry>
@ -42,6 +43,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.citra_emu.citra</entry> <entry>/var/lib/flatpak/exports/bin/org.citra_emu.citra</entry>
<entry>~/.local/share/flatpak/exports/bin/org.citra_emu.citra</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="DOLPHIN"> <emulator name="DOLPHIN">
@ -52,6 +54,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry> <entry>/var/lib/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry>
<entry>~/.local/share/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry>
<entry>~/Applications/Dolphin_Emulator*.AppImage</entry> <entry>~/Applications/Dolphin_Emulator*.AppImage</entry>
<entry>~/.local/bin/Dolphin_Emulator*.AppImage</entry> <entry>~/.local/bin/Dolphin_Emulator*.AppImage</entry>
<entry>~/bin/Dolphin_Emulator*.AppImage</entry> <entry>~/bin/Dolphin_Emulator*.AppImage</entry>
@ -65,6 +68,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.github.dosbox-staging</entry> <entry>/var/lib/flatpak/exports/bin/io.github.dosbox-staging</entry>
<entry>~/.local/share/flatpak/exports/bin/io.github.dosbox-staging</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="DUCKSTATION"> <emulator name="DUCKSTATION">
@ -76,6 +80,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.duckstation.DuckStation</entry> <entry>/var/lib/flatpak/exports/bin/org.duckstation.DuckStation</entry>
<entry>~/.local/share/flatpak/exports/bin/org.duckstation.DuckStation</entry>
<entry>~/Applications/duckstation-nogui-x64.AppImage</entry> <entry>~/Applications/duckstation-nogui-x64.AppImage</entry>
<entry>~/.local/bin/duckstation-nogui-x64.AppImage</entry> <entry>~/.local/bin/duckstation-nogui-x64.AppImage</entry>
<entry>~/bin/duckstation-nogui-x64.AppImage</entry> <entry>~/bin/duckstation-nogui-x64.AppImage</entry>
@ -92,6 +97,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.flycast.Flycast</entry> <entry>/var/lib/flatpak/exports/bin/org.flycast.Flycast</entry>
<entry>~/.local/share/flatpak/exports/bin/org.flycast.Flycast</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="FS-UAE"> <emulator name="FS-UAE">
@ -103,6 +109,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.fsuae.FS-UAE</entry> <entry>/var/lib/flatpak/exports/bin/net.fsuae.FS-UAE</entry>
<entry>~/.local/share/flatpak/exports/bin/net.fsuae.FS-UAE</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="MAME"> <emulator name="MAME">
@ -120,6 +127,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.kuribo64.melonDS</entry> <entry>/var/lib/flatpak/exports/bin/net.kuribo64.melonDS</entry>
<entry>~/.local/share/flatpak/exports/bin/net.kuribo64.melonDS</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="MGBA"> <emulator name="MGBA">
@ -130,6 +138,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.mgba.mGBA</entry> <entry>/var/lib/flatpak/exports/bin/io.mgba.mGBA</entry>
<entry>~/.local/share/flatpak/exports/bin/io.mgba.mGBA</entry>
<entry>~/Applications/mGBA*.AppImage</entry> <entry>~/Applications/mGBA*.AppImage</entry>
<entry>~/.local/bin/mGBA*.AppImage</entry> <entry>~/.local/bin/mGBA*.AppImage</entry>
<entry>~/bin/mGBA*.AppImage</entry> <entry>~/bin/mGBA*.AppImage</entry>
@ -143,6 +152,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.github.m64p.m64p</entry> <entry>/var/lib/flatpak/exports/bin/io.github.m64p.m64p</entry>
<entry>~/.local/share/flatpak/exports/bin/io.github.m64p.m64p</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="PCSX2"> <emulator name="PCSX2">
@ -154,6 +164,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.pcsx2.PCSX2</entry> <entry>/var/lib/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
<entry>~/.local/share/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="PPSSPP"> <emulator name="PPSSPP">
@ -164,6 +175,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.ppsspp.PPSSPP</entry> <entry>/var/lib/flatpak/exports/bin/org.ppsspp.PPSSPP</entry>
<entry>~/.local/share/flatpak/exports/bin/org.ppsspp.PPSSPP</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="PRIMEHACK"> <emulator name="PRIMEHACK">
@ -174,6 +186,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.github.shiiion.primehack</entry> <entry>/var/lib/flatpak/exports/bin/io.github.shiiion.primehack</entry>
<entry>~/.local/share/flatpak/exports/bin/io.github.shiiion.primehack</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="REDREAM"> <emulator name="REDREAM">
@ -191,6 +204,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.rpcs3.RPCS3</entry> <entry>/var/lib/flatpak/exports/bin/net.rpcs3.RPCS3</entry>
<entry>~/.local/share/flatpak/exports/bin/net.rpcs3.RPCS3</entry>
<entry>~/Applications/rpcs3*.AppImage</entry> <entry>~/Applications/rpcs3*.AppImage</entry>
<entry>~/.local/bin/rpcs3*.AppImage</entry> <entry>~/.local/bin/rpcs3*.AppImage</entry>
<entry>~/bin/rpcs3*.AppImage</entry> <entry>~/bin/rpcs3*.AppImage</entry>
@ -204,6 +218,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.ryujinx.Ryujinx</entry> <entry>/var/lib/flatpak/exports/bin/org.ryujinx.Ryujinx</entry>
<entry>~/.local/share/flatpak/exports/bin/org.ryujinx.Ryujinx</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="VBA-M"> <emulator name="VBA-M">
@ -220,6 +235,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/app.xemu.xemu</entry> <entry>/var/lib/flatpak/exports/bin/app.xemu.xemu</entry>
<entry>~/.local/share/flatpak/exports/bin/app.xemu.xemu</entry>
<entry>~/Applications/Xemu*.AppImage</entry> <entry>~/Applications/Xemu*.AppImage</entry>
<entry>~/.local/bin/Xemu*.AppImage</entry> <entry>~/.local/bin/Xemu*.AppImage</entry>
<entry>~/bin/Xemu*.AppImage</entry> <entry>~/bin/Xemu*.AppImage</entry>
@ -233,6 +249,7 @@
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.yuzu_emu.yuzu</entry> <entry>/var/lib/flatpak/exports/bin/org.yuzu_emu.yuzu</entry>
<entry>~/.local/share/flatpak/exports/bin/org.yuzu_emu.yuzu</entry>
<entry>~/Applications/yuzu*.AppImage</entry> <entry>~/Applications/yuzu*.AppImage</entry>
<entry>~/.local/bin/yuzu*.AppImage</entry> <entry>~/.local/bin/yuzu*.AppImage</entry>
<entry>~/bin/yuzu*.AppImage</entry> <entry>~/bin/yuzu*.AppImage</entry>