2017-09-02, 09:05
Here is the run_retroarch.sh just to check I haven't stuffed anything up there
Code:
#!/bin/sh
#
# Wrapper script to run Retroarch in LibreELEC
#
RETROARCH_EXECUTABLE="/storage/.kodi/addons/emulator.tools.retroarch/bin/retroarch"
LIBRETRO_CORES_DIR="/storage/.kodi/addons/emulator.tools.retroarch/lib/libretro"
# --- Stop KODI ---
echo "Stopping Kodi service ..."
systemctl stop kodi
# --- Run retroarch ---
echo "Running Retroarch ..."
$RETROARCH_EXECUTABLE -L $LIBRETRO_CORES_DIR/$1_libretro.so -f -v "$2"
# --- Start KODI ---
echo "Starting Kodi service ..."
systemctl start kodi