RetroArch: help with issue on first launch


#1

Dear snapcrafters,

Could someone help the RetroArch team fix an issue occuring on first launch after installation of their official snap.

One can run snap install retroarch just fine, but subsequent snap run retroarch yields a “cannot create directory” error for some reason.

Cheers,


#2

Not quite sure what’s going on there.
Perhaps a workaround for the moment (what I did) was:-

snap run --shell retroarch
mkdir -p $SNAP_USER_DATA/.config/retroarch
^D

Then run retroarch again, and the window launched.


#3

In case this information is useful to anyone else, the issue was caused by our recent addition of discord rich presence, which apparently tries to do some things with directories that are read-only in the snap. I’m planning to try and actually fix the problem at some point, but currently I just disabled that feature for the snap package.