STEAM_SYNC_SH: moved it on retrodeck quit instead of retrodeck start [skip ci]

This commit is contained in:
XargonWan 2024-09-05 21:11:12 +09:00
parent 8809e338f7
commit 4993dbf93b

View file

@ -882,17 +882,10 @@ quit_retrodeck() {
pkill -f "es-de"
log i "Shutting down RetroDECK's framework"
pkill -f "retrodeck"
log i "See you next time"
}
start_retrodeck() {
splash_screen # Check if today has a surprise splashscreen and load it if so
ponzu
# if steam sync is on do the magic
# if steam sync is on do the magic
if [[ $steam_sync == "true" ]]; then
(
#python3 /app/libexec/steam-sync/steam-sync.py #TODO: clean me
source /app/libexec/steam-sync/steam-sync.sh
addToSteam "$(ls "$rdhome/ES-DE/gamelists/")"
) |
@ -905,7 +898,13 @@ start_retrodeck() {
--auto-close \
--auto-kill
fi
log i "See you next time"
}
start_retrodeck() {
splash_screen # Check if today has a surprise splashscreen and load it if so
ponzu
log i "Starting RetroDECK v$version"
es-de
}