From 648021392d5a2391152194651b21588c5eb707fe Mon Sep 17 00:00:00 2001
From: RP1 <ravepriest1@tutanota.com>
Date: Tue, 11 Mar 2025 17:35:04 +0000
Subject: [PATCH] Update ros-progs-gui.sh

---
 ros-progs-gui.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ros-progs-gui.sh b/ros-progs-gui.sh
index 04d8ee1..c724533 100755
--- a/ros-progs-gui.sh
+++ b/ros-progs-gui.sh
@@ -602,6 +602,7 @@ if [[ $user_choice = *"Discord - VoIP-, és csevegőalkalmazás"* ]]; then
 
   # Vencord script credit to Lordify
   # Download the latest release of Vencord Installer from Github
+  cd /home/$USER
   wget https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli-linux
   sleep 1
   # Copy Vencord Installer to /bin
@@ -619,6 +620,7 @@ if [[ $user_choice = *"Discord - VoIP-, és csevegőalkalmazás"* ]]; then
   # Copy Vencord Theme by DanyHolder
   mkdir -p /home/$USER/.config/Vencord
   cp -a /usr/local/bin/progs/themes/ /home/$USER/.config/Vencord/themes
+  cd /usr/local/bin/progs
 
   echo ${bold}${yellow}Discord / Vencord ${normal}installed.
   echo ---------------------------------------------
@@ -903,7 +905,7 @@ fi
 
   sudo rm /etc/xdg/autostart/3progs.sh.desktop 2>/dev/null
 
-zenity --question --title='Restart required!' --text='Restart in 5 seconds?' --width='300' --height='100'
+zenity --question --title='Restart required!' --text='Restart in 5 seconds?' --width='300' --height='100' 2>/dev/null
 if [ $? = 0 ]; then
   
 (