Replaced the explicit shell commands in es_systems.xml with %EMULATOR_OS-SHELL% find rules.

This commit is contained in:
Leon Styhre 2022-05-13 18:44:35 +02:00
parent e50be3376b
commit 87e332a6a2
7 changed files with 41 additions and 15 deletions

View file

@ -1,6 +1,13 @@
<?xml version="1.0"?>
<!-- This is the ES-DE find rules configuration file for macOS -->
<ruleList>
<emulator name="OS-SHELL">
<!-- Operating system shell -->
<rule type="systempath">
<entry>zsh</entry>
<entry>bash</entry>
</rule>
</emulator>
<emulator name="RETROARCH">
<rule type="staticpath">
<entry>/Applications/RetroArch.app/Contents/MacOS/RetroArch</entry>

View file

@ -327,7 +327,7 @@
<fullname>Desktop Applications</fullname>
<path>%ROMPATH%/desktop</path>
<extension>.sh</extension>
<command>zsh %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>desktop</theme>
</system>
@ -378,7 +378,7 @@
<fullname>Epic Games Store</fullname>
<path>%ROMPATH%/epic</path>
<extension>.sh</extension>
<command>zsh %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>epic</theme>
</system>
@ -552,7 +552,7 @@
<fullname>Kodi Home Theatre Software</fullname>
<path>%ROMPATH%/kodi</path>
<extension>.sh</extension>
<command>zsh %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>kodi</theme>
</system>
@ -960,7 +960,7 @@
<fullname>Ports</fullname>
<path>%ROMPATH%/ports</path>
<extension>.sh</extension>
<command>zsh %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>ports</theme>
</system>
@ -1195,7 +1195,7 @@
<fullname>Valve Steam</fullname>
<path>%ROMPATH%/steam</path>
<extension>.sh</extension>
<command>%RUNINBACKGROUND% zsh %ROM%</command>
<command>%RUNINBACKGROUND% %EMULATOR_OS-SHELL% %ROM%</command>
<platform>steam</platform>
<theme>steam</theme>
</system>

View file

@ -1,6 +1,13 @@
<?xml version="1.0"?>
<!-- This is the ES-DE find rules configuration file for Unix -->
<ruleList>
<emulator name="OS-SHELL">
<!-- Operating system shell -->
<rule type="systempath">
<entry>bash</entry>
<entry>sh</entry>
</rule>
</emulator>
<emulator name="RETROARCH">
<rule type="systempath">
<entry>retroarch</entry>

View file

@ -327,7 +327,7 @@
<fullname>Desktop Applications</fullname>
<path>%ROMPATH%/desktop</path>
<extension>.sh</extension>
<command>bash %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>desktop</theme>
</system>
@ -378,7 +378,7 @@
<fullname>Epic Games Store</fullname>
<path>%ROMPATH%/epic</path>
<extension>.sh</extension>
<command>bash %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>epic</theme>
</system>
@ -554,7 +554,7 @@
<fullname>Kodi Home Theatre Software</fullname>
<path>%ROMPATH%/kodi</path>
<extension>.sh</extension>
<command>bash %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>kodi</theme>
</system>
@ -563,7 +563,7 @@
<fullname>Lutris Open Gaming Platform</fullname>
<path>%ROMPATH%/lutris</path>
<extension>.sh</extension>
<command>bash %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>lutris</theme>
</system>
@ -965,7 +965,7 @@
<fullname>Ports</fullname>
<path>%ROMPATH%/ports</path>
<extension>.sh</extension>
<command>bash %ROM%</command>
<command>%EMULATOR_OS-SHELL% %ROM%</command>
<platform>pc</platform>
<theme>ports</theme>
</system>

View file

@ -1,6 +1,12 @@
<?xml version="1.0"?>
<!-- This is the ES-DE find rules configuration file for Windows -->
<ruleList>
<emulator name="OS-SHELL">
<!-- Operating system shell -->
<rule type="systempath">
<entry>cmd.exe</entry>
</rule>
</emulator>
<emulator name="RETROARCH">
<rule type="winregistrypath">
<!-- Check for an App Paths entry in the Windows Registry -->

View file

@ -1,6 +1,12 @@
<?xml version="1.0"?>
<!-- This is the ES-DE find rules configuration file for Windows for portable installations -->
<ruleList>
<emulator name="OS-SHELL">
<!-- Operating system shell -->
<rule type="systempath">
<entry>cmd.exe</entry>
</rule>
</emulator>
<emulator name="RETROARCH">
<rule type="staticpath">
<!-- Portable installation -->

View file

@ -327,7 +327,7 @@
<fullname>Desktop Applications</fullname>
<path>%ROMPATH%\desktop</path>
<extension>.bat .BAT .lnk .LNK</extension>
<command>%HIDEWINDOW% %ESCAPESPECIALS% %RUNINBACKGROUND% cmd.exe /C %ROM%</command>
<command>%HIDEWINDOW% %ESCAPESPECIALS% %RUNINBACKGROUND% %EMULATOR_OS-SHELL% /C %ROM%</command>
<platform>pc</platform>
<theme>desktop</theme>
</system>
@ -378,7 +378,7 @@
<fullname>Epic Games Store</fullname>
<path>%ROMPATH%\epic</path>
<extension>.bat .BAT</extension>
<command>%HIDEWINDOW% %ESCAPESPECIALS% cmd.exe /C %ROM%</command>
<command>%HIDEWINDOW% %ESCAPESPECIALS% %EMULATOR_OS-SHELL% /C %ROM%</command>
<platform>pc</platform>
<theme>epic</theme>
</system>
@ -552,7 +552,7 @@
<fullname>Kodi Home Theatre Software</fullname>
<path>%ROMPATH%\kodi</path>
<extension>.bat .BAT .lnk .LNK</extension>
<command>%HIDEWINDOW% %ESCAPESPECIALS% %RUNINBACKGROUND% cmd.exe /C %ROM%</command>
<command>%HIDEWINDOW% %ESCAPESPECIALS% %RUNINBACKGROUND% %EMULATOR_OS-SHELL% /C %ROM%</command>
<platform>pc</platform>
<theme>kodi</theme>
</system>
@ -962,7 +962,7 @@
<fullname>Ports</fullname>
<path>%ROMPATH%\ports</path>
<extension>.bat .BAT .lnk .LNK</extension>
<command>%HIDEWINDOW% %ESCAPESPECIALS% cmd.exe /C %ROM%</command>
<command>%HIDEWINDOW% %ESCAPESPECIALS% %EMULATOR_OS-SHELL% /C %ROM%</command>
<platform>pc</platform>
<theme>ports</theme>
</system>
@ -1204,7 +1204,7 @@
<fullname>Valve Steam</fullname>
<path>%ROMPATH%\steam</path>
<extension>.bat .BAT .url .URL</extension>
<command>%HIDEWINDOW% %ESCAPESPECIALS% %RUNINBACKGROUND% cmd.exe /C %ROM%</command>
<command>%HIDEWINDOW% %ESCAPESPECIALS% %RUNINBACKGROUND% %EMULATOR_OS-SHELL% /C %ROM%</command>
<platform>steam</platform>
<theme>steam</theme>
</system>