We probably also want to associate file types with our application, e.g.
- Okular: pdf
- Kleopatra: asc, pgp, gpg, p7m, p7s, p10, eml, kgrp
We probably also want to associate file types with our application, e.g.
File associations are registered via Info.plist.
There are essentially two places where we could take care of the file associations for kleopatra: One is directly in kleopatra, i.e. by adding cmake code / templates for customizing the generated MacOSX bundle. (In okular, see MacOSXBundleInfo.plist.in and the bottom section of shell/CMakeLists.txt for what this would look like). -> Potentially useful to more people, but adds a lot of platform/packaging specific stuff to the codebase.
The alternative is to generate an appropriate Info.plist from our gpg4win packaging scripts. Which one would you consider less ugly?