* Bring back factory reset.

* Slow down the volume / brightness loop so it doesn't execute multiple times during a single short press.
This commit is contained in:
fewtarius 2023-11-03 21:36:34 +00:00
parent 972a44fc98
commit 92c1a42b96
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 10 additions and 1 deletions

View file

@ -9,4 +9,12 @@ case "${1}" in
rm -f /storage/.config/retroarch/retroarch.cfg rm -f /storage/.config/retroarch/retroarch.cfg
cp -rf /usr/config/retroarch/retroarch.cfg /storage/.config/retroarch/retroarch.cfg cp -rf /usr/config/retroarch/retroarch.cfg /storage/.config/retroarch/retroarch.cfg
;; ;;
"ALL")
systemctl stop ${UI_SERVICE}
cd /
find /storage -mindepth 1 \( ! -regex '^/storage/.update.*' -a ! -regex '^/storage/roms.*' \) -delete
mkdir /storage/.config/
sync
systemctl reboot
;;
esac esac

View file

@ -202,4 +202,5 @@ mkcontroller 2>/dev/null ||:
fi fi
;; ;;
esac esac
sleep .1
done done

View file

@ -3,7 +3,7 @@
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS) # Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
PKG_NAME="emulationstation" PKG_NAME="emulationstation"
PKG_VERSION="58a9a86aa957501753e7b2442efcbfb5dbdb9bac" PKG_VERSION="86f209752cc7eb47b22e3f00f807cf6d64ebc970"
PKG_GIT_CLONE_BRANCH="main" PKG_GIT_CLONE_BRANCH="main"
PKG_REV="1" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"