From 49ad2c71c31beeb8ace6b7b2c8399e45903ad812 Mon Sep 17 00:00:00 2001
From: Lx32 <loxenfabula@gmail.com>
Date: Wed, 8 May 2024 23:27:45 +0200
Subject: [PATCH] Added msgbox during fav sync

---
 retrodeck.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/retrodeck.sh b/retrodeck.sh
index e1b00938..8a8e8e6d 100644
--- a/retrodeck.sh
+++ b/retrodeck.sh
@@ -194,5 +194,16 @@ fi
 start_retrodeck
 
 if [[ $steam_sync == "true" ]]; then
+  (
   python3 /app/libexec/steam-sync/steam-sync.py
+  ) |
+  zenity --progress \
+    --title="Synching with Steam" \
+    --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
+    --text="Synching favorite game with Steam, please wait." \
+    --percentage=25 \
+    --pulsate \
+    --auto-close \
+    --auto-kill
+
 fi