mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
Add "purge" argument to CLI Steam Sync, to remove all SRM changes from Steam.
This commit is contained in:
parent
1176c15eca
commit
3614b5e32d
12
retrodeck.sh
12
retrodeck.sh
|
@ -14,7 +14,7 @@ Arguments:
|
||||||
--configurator \t Starts the RetroDECK Configurator
|
--configurator \t Starts the 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\"
|
||||||
--steam-sync \t Run the Steam ROM Manager sync process to update all ES-DE favorites in Steam
|
--steam-sync [purge] \t Run the Steam ROM Manager sync process to update all ES-DE favorites in Steam. Add the \"purge\" argument to remove all Steam ROM Manager information from Steam.
|
||||||
--repair-paths \t Reconfigure broken folder locations in RetroDECK without a full reset
|
--repair-paths \t Reconfigure broken folder locations in RetroDECK without a full reset
|
||||||
--reset <component> \t Reset RetroDECK or one or more component/emulator configurations to default values. WARNING: no confirmation prompt
|
--reset <component> \t Reset RetroDECK or one or more component/emulator configurations to default values. WARNING: no confirmation prompt
|
||||||
--factory-reset \t Factory Reset, triggers the initial setup WARNING: no confirmation prompt
|
--factory-reset \t Factory Reset, triggers the initial setup WARNING: no confirmation prompt
|
||||||
|
@ -189,7 +189,15 @@ while [[ $# -gt 0 ]]; do
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
--steam-sync)
|
--steam-sync)
|
||||||
steam_sync
|
if [[ -n "$2" ]]; then
|
||||||
|
if [[ "$2" == "purge" ]]; then
|
||||||
|
steam-rom-manager nuke
|
||||||
|
else
|
||||||
|
echo "Unknown argument \"$2\", please check the CLI help for more information."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
steam_sync
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
--repair-paths)
|
--repair-paths)
|
||||||
|
|
Loading…
Reference in a new issue