mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-27 02:35:38 +00:00
CLI: added --legacy-configurator option, --configurator now opens godot configurator
This commit is contained in:
parent
a5361e93eb
commit
b1c0ed4fcd
|
@ -28,6 +28,7 @@ Arguments:
|
||||||
--info-msg \t Print paths and config informations
|
--info-msg \t Print paths and config informations
|
||||||
--debug \t Enable debug logging for this launch of RetroDECK (This may miss errors very early in the launch process)
|
--debug \t Enable debug logging for this launch of RetroDECK (This may miss errors very early in the launch process)
|
||||||
--configurator \t Starts the RetroDECK Configurator
|
--configurator \t Starts the RetroDECK Configurator
|
||||||
|
--legacy-configurator \t Starts the old, zenity, RetroDECK Configurator
|
||||||
--compress-one <file> \t Compresses target file to a compatible format
|
--compress-one <file> \t Compresses target file to a compatible format
|
||||||
--compress-all <format> \t Compresses all supported games into a compatible format.\n\t\t\t\t\t\t Available formats are \"chd\", \"zip\", \"rvz\" and \"all\"
|
--compress-all <format> \t Compresses all supported games into a compatible format.\n\t\t\t\t\t\t Available formats are \"chd\", \"zip\", \"rvz\" and \"all\"
|
||||||
--reset-component <component> \t Reset one or more component or emulator configs to the default values
|
--reset-component <component> \t Reset one or more component or emulator configs to the default values
|
||||||
|
@ -73,6 +74,9 @@ https://retrodeck.net
|
||||||
cli_compress_all_games "$2"
|
cli_compress_all_games "$2"
|
||||||
;;
|
;;
|
||||||
--configurator*)
|
--configurator*)
|
||||||
|
sh /app/tools/godot-configurator.sh
|
||||||
|
;;
|
||||||
|
--legacy-configurator*)
|
||||||
sh /app/tools/configurator.sh
|
sh /app/tools/configurator.sh
|
||||||
if [[ $(configurator_generic_question_dialog "RetroDECK Configurator" "Would you like to launch RetroDECK after closing the Configurator?") == "false" ]]; then
|
if [[ $(configurator_generic_question_dialog "RetroDECK Configurator" "Would you like to launch RetroDECK after closing the Configurator?") == "false" ]]; then
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue