Mac Kleopatra: Add file associations
Open, LowPublic

Assigned To
None
Authored By
timegrid
Fri, Oct 9, 7:06 PM

Description

We probably also want to associate file types with our application, e.g.

  • Okular: pdf
  • Kleopatra: asc, pgp, gpg, p7m, p7s, p10, eml, kgrp

Details

Version
gpg4win-5.2.0-beta783 @ mac26.6

Event Timeline

timegrid created this task.
timegrid created this object with edit policy "Contributor (Project)".

File associations are registered via Info.plist.

  • For Okular we already have file associations. In this case it's actually too many (includes .tif, .gif, etc.). These are defined in upstream ocular via cmake.
  • For Kleopatra no file associations are defined, so far.

@ikloecker :

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?

tfry mentioned this in Unknown Object (Maniphest Task).Mon, Oct 26, 9:50 AM