Files
recalbox-savesync/pub_event[rungame,endgame](sync).ash

5 lines
109 B
Plaintext

#!/bin/ash
#shellcheck shell=dash
PAYLOAD=$(cat /tmp/es_state.inf)
echo "EVENT:$PAYLOAD" >/tmp/savesync_pipe