mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
FRAMEWORK: renamed GUI into CONFIGURATOR_GUI
This commit is contained in:
parent
c1bb13ceb7
commit
acf31654d5
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue