Enable automatically finding and mounting games by default after updates if not already explicitly enabled/disabled.

This commit is contained in:
fewtarius 2022-09-23 06:34:19 -04:00
parent 22ffd7ed07
commit 4aed004359
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -74,3 +74,10 @@ then
cp -f /usr/config/emulationstation/es_input.cfg /storage/.config/emulationstation/es_input.cfg
fi
# Make sure that we don't disable automounting
MOUNTGAMES=$(get_setting system.mountgames)
if [[ "${MOUNTGAMES}" != [0-9] ]]
then
set_setting system.mountgames 1
/usr/lib/autostart/common/003-mount_games
fi