mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Update configurator.sh
Updated the configurator with the add to steam function
This commit is contained in:
parent
aca433893b
commit
96c0abcfec
|
@ -83,6 +83,7 @@ source /app/libexec/global.sh
|
||||||
# - Full changelog
|
# - Full changelog
|
||||||
# - Version-specific changelogs
|
# - Version-specific changelogs
|
||||||
# - RetroDECK Credits
|
# - RetroDECK Credits
|
||||||
|
# - Add to Steam
|
||||||
# - Developer Options (Hidden)
|
# - Developer Options (Hidden)
|
||||||
# - Change Multi-user mode
|
# - Change Multi-user mode
|
||||||
# - Change Update channel
|
# - Change Update channel
|
||||||
|
@ -99,13 +100,15 @@ configurator_welcome_dialog() {
|
||||||
"RetroDECK: Tools" "Compress games, move RetroDECK and install optional features" \
|
"RetroDECK: Tools" "Compress games, move RetroDECK and install optional features" \
|
||||||
"RetroDECK: Troubleshooting" "Backup data, perform BIOS / multi-disc file checks checks and emulator resets" \
|
"RetroDECK: Troubleshooting" "Backup data, perform BIOS / multi-disc file checks checks and emulator resets" \
|
||||||
"RetroDECK: About" "Show additional information about RetroDECK" \
|
"RetroDECK: About" "Show additional information about RetroDECK" \
|
||||||
|
"Add to Steam" "Add to Steam all the favorite games, it will not remove added games" \
|
||||||
"Developer Options" "Welcome to the DANGER ZONE")
|
"Developer Options" "Welcome to the DANGER ZONE")
|
||||||
else
|
else
|
||||||
welcome_menu_options=("Presets & Settings" "Here you find various presets, tweaks and settings to customize your RetroDECK experience" \
|
welcome_menu_options=("Presets & Settings" "Here you find various presets, tweaks and settings to customize your RetroDECK experience" \
|
||||||
"Open Emulator" "Launch and configure each emulators settings (for advanced users)" \
|
"Open Emulator" "Launch and configure each emulators settings (for advanced users)" \
|
||||||
"RetroDECK: Tools" "Compress games, move RetroDECK and install optional features" \
|
"RetroDECK: Tools" "Compress games, move RetroDECK and install optional features" \
|
||||||
"RetroDECK: Troubleshooting" "Backup data, perform BIOS / multi-disc file checks checks and emulator resets" \
|
"RetroDECK: Troubleshooting" "Backup data, perform BIOS / multi-disc file checks checks and emulator resets" \
|
||||||
"RetroDECK: About" "Show additional information about RetroDECK" )
|
"RetroDECK: About" "Show additional information about RetroDECK" \
|
||||||
|
"Add to Steam" "Add to Steam all the favorite games, it will not remove added games")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
choice=$(zenity --list --title="RetroDECK Configurator Utility" --cancel-label="Quit" \
|
choice=$(zenity --list --title="RetroDECK Configurator Utility" --cancel-label="Quit" \
|
||||||
|
@ -135,6 +138,10 @@ configurator_welcome_dialog() {
|
||||||
configurator_about_retrodeck_dialog
|
configurator_about_retrodeck_dialog
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Add to Steam" )
|
||||||
|
configurator_add_steam
|
||||||
|
;;
|
||||||
|
|
||||||
"Developer Options" )
|
"Developer Options" )
|
||||||
configurator_generic_dialog "RetroDECK Configurator - Developer Options" "The following features and options are potentially VERY DANGEROUS for your RetroDECK install!\n\nThey should be considered the bleeding-edge of upcoming RetroDECK features, and never used when you have important saves/states/roms that are not backed up!\n\nYOU HAVE BEEN WARNED!"
|
configurator_generic_dialog "RetroDECK Configurator - Developer Options" "The following features and options are potentially VERY DANGEROUS for your RetroDECK install!\n\nThey should be considered the bleeding-edge of upcoming RetroDECK features, and never used when you have important saves/states/roms that are not backed up!\n\nYOU HAVE BEEN WARNED!"
|
||||||
configurator_developer_dialog
|
configurator_developer_dialog
|
||||||
|
@ -1075,6 +1082,11 @@ configurator_about_retrodeck_dialog() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configurator_add_steam() {
|
||||||
|
python3 /app/tools/Lutris/shortcut.py
|
||||||
|
configurator_welcome_dialog
|
||||||
|
}
|
||||||
|
|
||||||
configurator_version_history_dialog() {
|
configurator_version_history_dialog() {
|
||||||
local version_array=($(xml sel -t -v '//component/releases/release/@version' -n $rd_appdata))
|
local version_array=($(xml sel -t -v '//component/releases/release/@version' -n $rd_appdata))
|
||||||
local all_versions_list=()
|
local all_versions_list=()
|
||||||
|
|
Loading…
Reference in a new issue