Closed Parnassius closed 10 months ago
It's fine, thanks for providing the insight needed to fix the issue so i can get to work on it right away.
The issue seems fixed on my end, can you try latest flatpak from github actions https://github.com/exelix11/SysDVR/actions/runs/7426921602/artifacts/1150957073 ?
The latest commit fixed the issue for me as well, thank you!
I also updated the release, if anyone else is affected just redownload the 6.0 flatpak. The fixed version shows build id e18a704
Describe the bug Flatpak version crashes when saving settings
To Reproduce
Expected behavior Settings should get saved
Setup information
Additional context This is the error log that shows up as soon as I try to save the settings:
The issue seems to originate from the value of
Resources.SettingsStorePath
, which is set to the folder that contains the SysDVR-Client executable. On Flatpak this is/app/bin
, which is not user-writable.A possible fix could be setting that variable to a subfolder of
$XDG_CONFIG_HOME
(usually~/.var/app/com.github.exelix11.sysdvr/config/
when running in a Flatpak), adding a check inSystemUtil.StoreSettingsString
to make sure the folder exists before saving.Sadly I know basically nothing about dotnet, so I'm unable to create a pull request to fix this.
Thank you