diff --git a/emu-configs/pico-8/pico8-wrapper.sh b/emu-configs/pico-8/pico8-wrapper.sh new file mode 100644 index 00000000..7581e17f --- /dev/null +++ b/emu-configs/pico-8/pico8-wrapper.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# This is a wrapper function for PICO8, as ES-DE does not appear to be able to find it outside of the /app/bin location. +# Users should still put the real binary in the ~/retrodeck/bios/pico-8/ location + +~/retrodeck/bios/pico-8/pico8 diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index a70c7305..e933f82b 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -1226,8 +1226,9 @@ modules: # Initializing default emulator configs - cp -r emu-configs ${FLATPAK_DEST}/retrodeck/emu-configs/ - # Overlays - #- cp -r overlays ${FLATPAK_DEST}/retrodeck/overlays Disabled in 0.4.2b as it will be introduced in 0.5.0b + # PICO-8 wrapper + - cp ${FLATPAK_DEST}/retrodeck/emu-configs/pico-8/pico8-wrapper.sh /app/bin/pico8 + - chmod +x /app/bin/pico8 # Placing appdata - mkdir -p ${FLATPAK_DEST}/share/appdata