From 1b22987e876a296086a0083f365697cc7feede1f Mon Sep 17 00:00:00 2001 From: wytch Date: Fri, 27 Feb 2026 19:40:34 -0600 Subject: [PATCH] s/config/configs/ --- install.sh | 4 ++-- pub_event[rungame,endgame](sync).ash | 2 +- savesync-logger[start](permanent).ash | 2 ++ savesync[start](permanent).ash | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index d052249..966a9bb 100644 --- a/install.sh +++ b/install.sh @@ -8,8 +8,8 @@ tar -xvf savesync.tar.gz rm savesync.tar.gz cd recalbox-savesync cp *.ash /recalbox/share/userscripts/ -mkdir -p /recalbox/share/system/config/savesync -cp *.conf /recalbox/share/system/config/savesync/ +mkdir -p /recalbox/share/system/configs/savesync +cp *.conf /recalbox/share/system/configs/savesync/ mount -o remount,rw / >/dev/null curl -L -o /usr/bin/nc https://github.com/therealsaumil/static-arm-bins/raw/refs/heads/master/nc-arm-static diff --git a/pub_event[rungame,endgame](sync).ash b/pub_event[rungame,endgame](sync).ash index a1885dc..fb0d7fe 100644 --- a/pub_event[rungame,endgame](sync).ash +++ b/pub_event[rungame,endgame](sync).ash @@ -2,7 +2,7 @@ # shellcheck shell=ash # -- Load Configs --- -. /recalbox/share/system/config/savesync/savesync.conf +. /recalbox/share/system/configs/savesync/savesync.conf # --- Logger Function --- log() { diff --git a/savesync-logger[start](permanent).ash b/savesync-logger[start](permanent).ash index aded7bf..5207d07 100644 --- a/savesync-logger[start](permanent).ash +++ b/savesync-logger[start](permanent).ash @@ -3,6 +3,8 @@ # . /recalbox/share/system/configs/savesync/savesync.conf +touch "$LOG_FILE" + mosquitto_pub -h 127.0.0.1 -p 1883 -t "$TOPIC" "SaveLogStart=1" mosquitto_sub -h 127.0.0.1 -p 1883 -t "$TOPIC" | while IFS="=" read -r key value do diff --git a/savesync[start](permanent).ash b/savesync[start](permanent).ash index 59399eb..d07dd58 100644 --- a/savesync[start](permanent).ash +++ b/savesync[start](permanent).ash @@ -2,7 +2,7 @@ # shellcheck shell=ash # --- Configuration --- -. /recalbox/share/system/config/savesync/savesync.conf +. /recalbox/share/system/configs/savesync/savesync.conf # --- Logger Function ---