FRAMEWORK: renamed GUI into CONFIGURATOR_GUI

This commit is contained in:
XargonWan 2025-02-20 11:14:58 +09:00
parent c1bb13ceb7
commit acf31654d5
2 changed files with 4 additions and 4 deletions

View file

@ -299,7 +299,7 @@ dir_prep() {
rd_zenity() { rd_zenity() {
# This function replaces the standard 'zenity' command and filters out annoying GTK errors on Steam Deck # This function replaces the standard 'zenity' command and filters out annoying GTK errors on Steam Deck
export GUI="zenity" export CONFIGURATOR_GUI="zenity"
# env GDK_SCALE=1.5 \ # env GDK_SCALE=1.5 \
# GDK_DPI_SCALE=1.5 \ # GDK_DPI_SCALE=1.5 \
@ -307,7 +307,7 @@ rd_zenity() {
local status=${PIPESTATUS[0]} # Capture the exit code of 'zenity' local status=${PIPESTATUS[0]} # Capture the exit code of 'zenity'
unset GUI unset CONFIGURATOR_GUI
return $status return $status
} }

View file

@ -108,7 +108,7 @@ rd_zenity --progress --no-cancel --pulsate --auto-close \
configurator_welcome_dialog() { configurator_welcome_dialog() {
log i "Configurator: opening welcome dialog" log i "Configurator: opening welcome dialog"
export GUI="zenity" export CONFIGURATOR_GUI="zenity"
welcome_menu_options=( welcome_menu_options=(
"Settings" "Customize your RetroDECK experience with various presets and tweaks." "Settings" "Customize your RetroDECK experience with various presets and tweaks."
"Open Component" "Manually launch and configure settings for each emulator or component (for advanced users)." "Open Component" "Manually launch and configure settings for each emulator or component (for advanced users)."
@ -172,7 +172,7 @@ configurator_welcome_dialog() {
"" ) "" )
log i "Configurator: closing" log i "Configurator: closing"
unset GUI unset CONFIGURATOR_GUI
exit 0 exit 0
;; ;;