• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
where is my bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

where is my bundle?


  • Subject: where is my bundle?
  • From: Bill Appleton <email@hidden>
  • Date: Wed, 2 Jun 2010 09:44:04 -0700

hi all,

i am writing an NPAPI plugin that is localed in

/Library/Internet Plug-Ins/anyname.plugin

or the user equivalent library directory, or it might be in my debugging folder, in that case I have a shortcut installed in the user library plugins directory, but that last case is just me it doesn't happen to customers.

Here is my problem. How do I properly FIND the plugins bundle folder at runtime? I have a few images etc stored there. I tried looking at the NSBundle stuff and ProcessInfo functions but they always return the browsers bundle (like safari, firefox, etc). So to be clear, the plugin itself is a dynamic library with a bundle -- how can it find itself?

Does anybody know the right way to do this?


Thanks!

Bill Appleton



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Next by Date: forcing refresh of folder
  • Next by thread: forcing refresh of folder
  • Index(es):
    • Date
    • Thread