Is there a way to restore a snap app? (Deleting data, configuration, etc...)

I have been toying with the retroarch options and, at some point, changed something that caused it to segfault at start. At this point I decided to start from scratch and delete all configurations.

I ended up uninstalling the snap and reinstalling it. Is there a built-in way to restore a snap to “factory settings”?

Simply remove the snap-specific user writable directory should do:

  • ~/snap/snap_identifier/current