[PD-dev] How to customize Pd.app for macOS?
Roman Haefeli
reduzent at gmail.com
Wed Dec 13 14:56:42 CET 2017
I guess I figured it out.
From the scripts in <pd>/mac/ I found that <app>/Contents/MacOS/Pd is
actually a wish binary, which starts <app>/Contents/Resources/tcl/pd-
gui.tcl, which in turn starts the pd binary in
<app>/Contents/Resources/bin/pd.
So what I do now is to edit the appropriate line in pd-gui.tcl
(currently 781) and specify the desired start options there:
exec -- $pd_exec -guiport $::port -open ../patches/mypatch.pd &
Seems to work.
BTW, I'm amazed how easy it is to build a Pd.app on macOS. Nice work,
Dan!
Roman
On Mit, 2017-12-13 at 13:41 +0100, Roman Haefeli wrote:
> On Mit, 2017-12-13 at 13:39 +0100, Antoine Rousseau wrote:
> >
> > you could just add "-open {your_path}" into prefs?
> I actually would prefer such a simple approach, but how can I include
> the prefs file into the app?
>
> Roman
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20171213/f581d6e0/attachment-0001.sig>
More information about the Pd-dev
mailing list