In preparation for distributing Gearsystem as a Flatpak application in #95, this pull request upgrades the source files for NFDe to the v1.1.1 release. Most notably, this also includes an implementation in nfd_portal.cpp that supports the use of the Portal API used by Flatpak applications. This is necessary to have native file chooser dialogs that grant permission without needing machine-wide filesystem access.
As I run this program on a Linux machine, I am unsure if the build works on the other platforms. Any verification that it continues to work as intended on those platforms would be greatly appreciated.
In preparation for distributing Gearsystem as a Flatpak application in #95, this pull request upgrades the source files for NFDe to the v1.1.1 release. Most notably, this also includes an implementation in
nfd_portal.cpp
that supports the use of the Portal API used by Flatpak applications. This is necessary to have native file chooser dialogs that grant permission without needing machine-wide filesystem access.As I run this program on a Linux machine, I am unsure if the build works on the other platforms. Any verification that it continues to work as intended on those platforms would be greatly appreciated.