Loading files from AU2 plugin

DSP, Plug-in and Host development discussion.
KVRer
7 posts since 8 Nov, 2020

Post Tue Aug 03, 2021 4:15 am

I'm working on compiling for Mac and need to access a license file at ~/Music/SNFK. Right now, it appears that the binary is still inside the app sandbox (restricting file access). Has anyone else has issues with this? What would be an effective fix? I am compiling an AU2 file.
Thanks

KVRer

Topic Starter

7 posts since 8 Nov, 2020

Post Tue Aug 03, 2021 5:26 am

Never mind, it seems to be an issue with getting the paths.

KVRAF
6462 posts since 12 Feb, 2006 from Helsinki, Finland

Post Tue Aug 03, 2021 7:22 am

Please excuse the question, but are you sure that "~/Library/Application Support" would not be a better place for license files?
Preferred pronouns would be "it/it" because according to this country, I'm a piece of human trash.

KVRer

Topic Starter

7 posts since 8 Nov, 2020

Post Wed Aug 04, 2021 4:09 am

That's a much better place, thanks!

Return to “DSP and Plug-in Development”