mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 17:15:41 +00:00
Add CLI option to run Configurator directly
Merge pull request #233 from icenine451/cooker-0.6.1b-icenine451
This commit is contained in:
commit
2ad057a2d2
|
@ -17,9 +17,10 @@ Arguments:
|
||||||
-h, --help Print this help
|
-h, --help Print this help
|
||||||
-v, --version Print RetroDECK version
|
-v, --version Print RetroDECK version
|
||||||
--info-msg Print paths and config informations
|
--info-msg Print paths and config informations
|
||||||
|
--configure Starts the RetroDECK Configurator
|
||||||
--reset-all Starts the initial RetroDECK installer (backup your data first!)
|
--reset-all Starts the initial RetroDECK installer (backup your data first!)
|
||||||
--reset-ra Resets RetroArch's config to the default values
|
--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
|
--reset-tools Recreate the tools section
|
||||||
|
|
||||||
For flatpak run specific options please run: flatpak run -h
|
For flatpak run specific options please run: flatpak run -h
|
||||||
|
@ -57,6 +58,10 @@ https://retrodeck.net
|
||||||
rm -f "$lockfile"
|
rm -f "$lockfile"
|
||||||
shift # past argument with no value
|
shift # past argument with no value
|
||||||
;;
|
;;
|
||||||
|
--configure*)
|
||||||
|
sh /var/config/retrodeck/tools/configurator.sh
|
||||||
|
shift # past argument with no value
|
||||||
|
;;
|
||||||
-*|--*)
|
-*|--*)
|
||||||
echo "Unknown option $i"
|
echo "Unknown option $i"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue