Open bbhtt opened 2 years ago
This makes it fail to read/save settings under the sandbox https://github.com/mozbugbox/liferea-plugin-studio/blob/bebd17d2870f7d2d18994ac590a53268e177fef6/webkit-setting/webkitsetting.py#L157-L162 as Flatpak has no access to /home/user/.{config, local, cache} and the HOME variable is unchanged inside the sandbox, only XDG_* variables are set.
/home/user/.{config, local, cache}
HOME
XDG_*
Instead use XDG_* variables which if not set falls back to $HOME/.{config, local/share, cache}
$HOME/.{config, local/share, cache}
I haven't checked all the plugins but presumably anything that doesn't use XDG_* variables probably needs to be updated.
This makes it fail to read/save settings under the sandbox https://github.com/mozbugbox/liferea-plugin-studio/blob/bebd17d2870f7d2d18994ac590a53268e177fef6/webkit-setting/webkitsetting.py#L157-L162 as Flatpak has no access to
/home/user/.{config, local, cache}
and theHOME
variable is unchanged inside the sandbox, onlyXDG_*
variables are set.Instead use
XDG_*
variables which if not set falls back to$HOME/.{config, local/share, cache}
I haven't checked all the plugins but presumably anything that doesn't use
XDG_*
variables probably needs to be updated.