Our application is associated with documents that have a .dart
suffix. The problem is that that suffix is already used by Apple:
com.apple.disk-image-dart.
We can't really change it, because it's already in use on other
platforms. And we like it.
Currently I'm overriding this default in a way that's working but
is kind of ugly. I haven't encountered a .dart disk image before,
and it doesn't seem to be in much use, so I think overriding this
is fairly safe.
The defaults command is used first to ensure I don't do this twice.
Then, if it's not already set, I add a default for this user to use
our app instead of the Apple default.
Then I use lsregister to reset the users LaunchServices --
otherwise it doesn't seem to take.
Is all this safe? Is there a better way to do this?
This seems very heavy-handed to me. How do you have your plist entry
set up for this? Do you use a file type for these?
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden