creating a bat script that opens bin/pd.exe with the right flags to point to the extras and load them.
I was just going to suggest that. Since you already did that on windows, what's the reason why that approach doesn't work for you on OSX (with a shell script)? I also don't see why you needed a .exe, the user can just click on the script... or is it just because people are used to launch programs from clicking executables?
Gesendet: Freitag, 13. Januar 2017 um 09:57 Uhr Von: enrike altern2@gmail.com An: "Alex Norman" x37v.alex@gmail.com, pd-list@lists.iem.at, "the PureData - mailinglist" pd-list@iem.at Betreff: Re: [PD] standalone with preferences included on OSX?
i see, but I would try to avoid creating my own build. In windows I solved this by creating a bat script that opens bin/pd.exe with the right flags to point to the extras and load them. Then I used a bat to exe converter program to compile an exe out of the bat file, placed the exe at the root of pd and problem solved.
On og., 2017.eko urtren 12a 17:59, Alex Norman wrote:
Since pd is open source you could always modify the defaults and make your own build but it shouldn't have to come to that. 100% portable.. I assume you're only targeting one os? Which one?
For Mac I think you should be able to put your externals in extra (inside Pd.app http://Pd.app) and.. Can you use declare with stdpath to reference those?
A three step process would probably be more educational though.. Install pd, copy all these externals to a given place, write this into pdrc..
Alex
On January 12, 2017 8:17:50 AM PST, enrike altern2@gmail.com wrote:
hi I would like to have a version of PD with a set of externals and to be able to pass that app to some students not needing to set the preferences to load the externals in every machine (neither copy the preferences file). I want it to be 100% portable. I was reading this old post about something similar https://lists.puredata.info/pipermail/pd-list/2008-10/065691.html Is it possible to achieve this nowadays? thanks enrike ------------------------------------------------------------------------ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list