Use ~/.local/share
Alexander Larsson
alexl at redhat.com
Wed Jun 29 13:51:39 UTC 2016
On Wed, 2016-06-29 at 14:47 +0100, Emmanuele Bassi wrote:
> On 29 June 2016 at 14:40, Alexander Larsson <alexl at redhat.com> wrote:
>
> > > If Geary's account information were actually shared between email
> > > clients then I would understand this concern a lot more.
> >
> > I think the issue is that the pre-flatpak configured accounts are
> > lost
> > when switching to flatpak.
>
> Isn't this a larger concern, though? How do we non-destructively
> migrate a system from the current state to a flatpak-based one?
>
> Should we do a one off copy of the contents of ~/.local/share/<appid>
> (if it exists) to ~/.var/app/<appid> when we launch the application
> for the first time?
Apps that *do* have homedir access could do such migration themselves.
For others, i don't think anyone uses the appid like that, and we can't
allow apps to specify any random dirname to copy stuff from.
More information about the xdg-app
mailing list