On 23 Jun 2013, at 23:09, Kyle Sluder k...@ksluder.com wrote:
On Jun 23, 2013, at 1:49 PM, Pax 45rpmli...@googlemail.com wrote:
Just a quickie, I hope! I'm writing a sandboxed application that uses
plugins. The plugin directories that I want to load from are
'/Library/Application
Are you sure about this? Because my sandboxed app seems to be able to load
plugins from the root library application support folder without difficulty.
In addition, I can't see how it breaches the sandbox to load plugins from
anywhere - no files are being modified (just code loaded from the
On Jun 24, 2013, at 2:00 AM, Pax 45rpmli...@googlemail.com wrote:
I can't see how it breaches the sandbox to load plugins from anywhere - no
files are being modified (just code loaded from the plugin), and the plugin
is subject to my application's sandbox privileges (and thus unable to do
On Mon, Jun 24, 2013, at 02:00 AM, Pax wrote:
Are you sure about this? Because my sandboxed app seems to be able to
load plugins from the root library application support folder without
difficulty.
By root library application support folder, are you referring to
/Library (as opposed to
Just a quickie, I hope! I'm writing a sandboxed application that uses plugins.
The plugin directories that I want to load from are '/Library/Application
Support/MyApp' and '~/Library/Application Support/MyApp'.
I don't really care if
'~/Library/Containers/com.myapp/Data/Library/Application
On 23 Jun 2013, at 1:49 PM, Pax 45rpmli...@googlemail.com wrote:
The code I am using to get the location of the Library is:
NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSAllDomainsMask -
NSSystemDomainMask, YES);
I haven't tested anything, but just looking at this line, I am
On 23 Jun 2013, at 2:32 PM, Ben Kennedy b...@zygoat.ca wrote:
I haven't tested anything, but just looking at this line, I am inclined to
guess the subtraction is your problem. If your intent is to choose all
domains except for the system domain, you'll need to XOR the value, not
subtract
On Jun 23, 2013, at 1:49 PM, Pax 45rpmli...@googlemail.com wrote:
Just a quickie, I hope! I'm writing a sandboxed application that uses
plugins. The plugin directories that I want to load from are
'/Library/Application Support/MyApp' and '~/Library/Application
Support/MyApp'.
You do not