Flatpak's can spawn an external process making it possible to use scripts that rely on external executables. In order to do this we need to know that darktable is running as a flatpak and we need to start the executable in a flatpak compliant way.
I think we can determine if we are running a flatpak by checking for the file /.flatpak-info (thanks @paperdigits).
Flatpak's can spawn an external process making it possible to use scripts that rely on external executables. In order to do this we need to know that darktable is running as a flatpak and we need to start the executable in a flatpak compliant way.
I think we can determine if we are running a flatpak by checking for the file /.flatpak-info (thanks @paperdigits).