flathub / dev.lizardbyte.app.Sunshine

https://flathub.org/apps/details/dev.lizardbyte.app.Sunshine
3 stars 4 forks source link

Add filesystem xdg-config/sunshine #57

Closed vancez closed 7 months ago

vancez commented 7 months ago

After updating to 0.22, it uses ~/.var/app/dev.lizardbyte.app.Sunshine/config/sunshine/as configuration folder.

cgutman commented 7 months ago

Hmm, which directory was it using before?

vancez commented 7 months ago

Hmm, which directory was it using before?

~/.config/sunshine/

cgutman commented 7 months ago

Hmm, I don't think this should be necessary. AFAICT, Flatpaks should have access to ~/.var/app/ by default per https://docs.flatpak.org/en/latest/sandbox-permissions.html

Moonlight's Flatpak doesn't have any explicit --filesystem options and it is able to write into ~/.var/app/com.moonlight_stream.Moonlight without any issues.

flathubbot commented 7 months ago

Started test build 105910

flathubbot commented 7 months ago

Build 105910 failed

ReenigneArcher commented 7 months ago

The change of location is due to this PR https://github.com/LizardByte/Sunshine/pull/2034

I believe @istori1 will take a different approach to this. Probably using a startup script to migrate the config from the old location to the new one.

ReenigneArcher commented 7 months ago

@vancez See #59

If you could test the build, it would be appreciated.