add a portal for self-updates #444

Open
matthiasclasen opened this Issue Dec 16, 2016 · 0 comments

Projects

None yet

1 participant

@matthiasclasen
Collaborator
matthiasclasen commented Dec 16, 2016 edited

A surprising number of apps want to update themselves from inside their ui. And homegrown methods of doing so are unreliable at best, and insecure at worst. It seems that flatpak could easily improve this situation by offering a portal that sandboxed apps can use to find out about and trigger updates. This would be strictly limited to updating the app itself, nothing else. Suggested API:

GetAvailableUpdate
InstallUpdate

Since this is closely tied to flatpak itself, and the implementation would likely use libflatpak, it may make sense to put this portal into flatpak itself, instead of xdg-desktop-portal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment