Add CLI option to run Configurator directly

Merge pull request #233 from icenine451/cooker-0.6.1b-icenine451
This commit is contained in:
XargonWan 2023-01-10 17:15:25 +01:00 committed by GitHub
commit 2ad057a2d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,9 +17,10 @@ Arguments:
-h, --help Print this help
-v, --version Print RetroDECK version
--info-msg Print paths and config informations
--configure Starts the RetroDECK Configurator
--reset-all Starts the initial RetroDECK installer (backup your data first!)
--reset-ra Resets RetroArch's config to the default values
--reset-sa Reset standalone emulator configs to the default values
--reset-sa Reset all standalone emulator configs to the default values
--reset-tools Recreate the tools section
For flatpak run specific options please run: flatpak run -h
@ -57,6 +58,10 @@ https://retrodeck.net
rm -f "$lockfile"
shift # past argument with no value
;;
--configure*)
sh /var/config/retrodeck/tools/configurator.sh
shift # past argument with no value
;;
-*|--*)
echo "Unknown option $i"
exit 1