Update NSLPluginInstaller.sh

This commit is contained in:
Roy
2025-05-27 12:40:58 -07:00
committed by GitHub
parent 570ad10490
commit 97c7c75a7d
+8 -3
View File
@@ -163,7 +163,12 @@ fi
set -x
cd "$LOCAL_DIR"
# Now switch to Game Mode
show_message "Plugin installed. Switching to Game Mode..."
switch_to_game_mode
#Switching to Game Mode
zenity --question --text="Plugin installed or updated. Do you want to switch to Game Mode now?" --title="Switch to Game Mode?" --ok-label="Yes" --cancel-label="No"
if [ $? -eq 0 ]; then
switch_to_game_mode
else
show_message "Remaining in Desktop Mode."
fi