mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-18 04:15:40 +00:00
STEAM_SYNC: fix framwork was shutting down before steam_sync
This commit is contained in:
parent
31dbca315d
commit
ef58758101
|
@ -880,14 +880,12 @@ release_selector() {
|
||||||
quit_retrodeck() {
|
quit_retrodeck() {
|
||||||
log i "Quitting ES-DE"
|
log i "Quitting ES-DE"
|
||||||
pkill -f "es-de"
|
pkill -f "es-de"
|
||||||
log i "Shutting down RetroDECK's framework"
|
|
||||||
pkill -f "retrodeck"
|
|
||||||
|
|
||||||
# if steam sync is on do the magic
|
# if steam sync is on do the magic
|
||||||
if [[ $steam_sync == "true" ]]; then
|
if [[ $steam_sync == "true" ]]; then
|
||||||
(
|
(
|
||||||
source /app/libexec/steam_sync.sh
|
source /app/libexec/steam_sync.sh
|
||||||
addToSteam "$(ls "$rdhome/ES-DE/gamelists/")"
|
add_to_steam "$(ls "$rdhome/ES-DE/gamelists/")"
|
||||||
) |
|
) |
|
||||||
zenity --progress \
|
zenity --progress \
|
||||||
--title="Syncing with Steam" \
|
--title="Syncing with Steam" \
|
||||||
|
@ -898,6 +896,8 @@ quit_retrodeck() {
|
||||||
--auto-close \
|
--auto-close \
|
||||||
--auto-kill
|
--auto-kill
|
||||||
fi
|
fi
|
||||||
|
log i "Shutting down RetroDECK's framework"
|
||||||
|
pkill -f "retrodeck"
|
||||||
|
|
||||||
log i "See you next time"
|
log i "See you next time"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue