Make EmulationStation running event-driven user scripts
Make EmulationStation running scripts in /recalbox/share/userscripts
when the following events occur:
- Start/Stop EmulationStation
- Reboot/Shutdown
- Browse Systems/Gamelists
- Run/End Game/Demo
- Config change
Scripts are launched on every event, except if they filter which event they want to catch by specifying an event list enclosed in [] and comma separated in the filename.
Scripts must be run asynchronously by default. Adding (sync)
in filename will run the script synchronously.