Remove Steam Sync manifest when purging SRM Steam data, for when Sync is run again.

This commit is contained in:
icenine451 2025-04-09 14:03:31 -04:00
parent cb86324fe6
commit c8c84c3043
2 changed files with 2 additions and 0 deletions

View file

@ -127,6 +127,7 @@ while [[ $# -gt 0 ]]; do
if [[ -n "$2" ]]; then
if [[ "$2" == "purge" ]]; then
steam-rom-manager nuke
rm -f "$retrodeck_favorites_file"
else
echo "Unknown argument \"$2\", please check the CLI help for more information."
fi

View file

@ -1319,6 +1319,7 @@ configurator_steam_sync_dialog() {
if [[ $(configurator_generic_question_dialog "RetroDECK Configurator - Steam Sync" "Are you sure you want to remove all Steam ROM Manager changes, including all RetroDECK shortcuts from Steam?" ) == "true" ]]; then
(
steam-rom-manager nuke
rm -f "$retrodeck_favorites_file"
) |
rd_zenity --progress \
--title="Removing all RetroDECK Steam Sync information" \