News for hackers. Stuff that matters.
Re:Dotfile madness by AnIdiotOnTheNet on Sunday February 03, 2019 @11:57AM (#19070656)
So just don't do that. The application needs an "Open" dialog already so you can tell it what files to open, just have that dialog be a process run by the system instead of the application, treat the permission as implicit since the user is the one selecting the file, and pass a handle back to the application.
Re:Dotfile madness by detaro on Sunday February 03, 2019 @12:00PM (#19070675)
E.g. Flatpak has the concept of "Portals" for that: https://github.com/flatpak/flatpak/wiki/Portals