[PD-dev] "About Pd" folder references
Dan Wilcox
danomatika at gmail.com
Wed Sep 26 13:35:01 CEST 2018
Short answer: move the app out of the Downloads folder
Long answer:
In testing, I see this is happening if you run the app form the Downloads folder. The OS keeps track of downloaded binaries and auto-sandboxes them, apparently, by opening them within a temporary image somwhere. When Pd starts up, sys_libdir is set using the current working directory and picks up this temp location. sys_libdir is then used to generate the paths in the About file. When you move the .app somewhere else, this sandboxing no longer happens and the About paths look correct.
> On Sep 26, 2018, at 1:26 PM, Dan Wilcox <danomatika at gmail.com> wrote:
>
> That's probably app sandboxing: "An app distributed outside the Mac App Store runs from a randomized path when it is launched..."
>
> from http://krypted.com/mac-security/app-translocation-services-os-x-10-12/ <http://krypted.com/mac-security/app-translocation-services-os-x-10-12/>
>
> Funny that the strings loaded for the text file are changed, though.
>
>> On Sep 26, 2018, at 12:00 PM, pd-dev-request at lists.iem.at <mailto:pd-dev-request at lists.iem.at> wrote:
>>
>> Just found the following very perplexing directories listed by Pd’s “About Pd” window. I re-downloaded 0.48-2 and saw a similar listing. The paths are accurate and can be navigated in the terminal. This appears to be the result of macOS AppTranslocation, and probably a headache to deal with, but I can’t imagine that this display is useful to users in its current state:
>>
>> Pd 0.49.0
>>
>> A real-time graphical programming environment for live interactive
>> computer music, Pd works on Linux, Apple macOS, and Microsoft Windows.
>>
>> Pd is copyrighted, but is free for you to use for any reasonable purpose.
>> See the file:
>> /private/var/folders/d7/m7ff94zn5tb7x7m7f_t4mkg40000gn/T/AppTranslocation/5F6B8661-189B-4614-B1FA-B54185D21D65/d/Pd-0.49-0.app/Contents/Resources/LICENSE.txt
>>
>> Reference documentation for Pd lives in:
>> /private/var/folders/d7/m7ff94zn5tb7x7m7f_t4mkg40000gn/T/AppTranslocation/5F6B8661-189B-4614-B1FA-B54185D21D65/d/Pd-0.49-0.app/Contents/Resources/doc/1.manual/index.htm
>> or online:
>> http://msp.ucsd.edu/Pd_documentation/ <http://msp.ucsd.edu/Pd_documentation/>
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
>
>
>
--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20180926/473936c7/attachment-0001.html>
More information about the Pd-dev
mailing list