|
From: | Richard Frith-Macdonald |
Subject: | Re: Dynamically registering file types |
Date: | Wed, 12 May 2004 11:44:44 +0100 |
On 12 May 2004, at 11:18, Dirk Olmes wrote:
Adding configure script to Zipper that is able to detect what is installed and then create a correct Info.plist Talking about that... http://pmk.sourceforge.net/ might be a nice idea.while this sounds like a good idea at first I'd like to have a moredynamic solution. What if I install the lha executable later and add it to Zipper's preferences? Would I have to re-install the app for that? hardly.
Then I think you need to dynamically update your Info_gnustep.plist and then call the [NSWorkspace -findApplications] method to update cached information about file types. There is no API to dynamically register file types directly, but -findApplications does
the job by scanning the application information.
[Prev in Thread] | Current Thread | [Next in Thread] |