On Jan 2, 2021, at 6:26 PM, pd-list-request@lists.iem.at wrote:
Date: Sat, 2 Jan 2021 17:42:54 +0100 From: Christof Ressi <info@christofressi.com mailto:info@christofressi.com> You can always distribute Pd along your project and have a simple top-level shell script resp. batch script which opens your main patch with the bundled Pd version. Give the script a nice icon and off you go :-)
This is mainly what I do and would be my first suggestion as well.
The downside is that on Windows and macOS you get a visible terminal window, but there are workarounds.
This is less of a problem if it's for an installation or specific users.
I did a quick search and found the following for macOS:
https://sveinbjorn.org/platypus https://sveinbjorn.org/platypus
I don't know about this tool, but I imagine it does the same as the mac/osx-app.sh script included with the Pd sources. I wrote that script heavily borrowing from a script of the same name written for the Inkscape project.
Alex: If the question is really "hey, can we have that 'make an app' option that Pd-extended had?" then it perhaps makes sense to first look at the code in Pd-extended which did this action:
https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/pd_menuco... https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/pd_menucommands.tcl#l313
which calls
https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/makeapp.t... https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/makeapp.tcl
I imagine it could be ported to a gui plugin that would create a standalone "app" using the version of Pd and the current platform. As Christof mentions, it's basically copying the Pd install into a new folder and renaming some stuff. For Mac, that folder is the .app bundle and follows a rather strict layout. This could reasonably be extended for Windows and Linux.
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Em seg., 4 de jan. de 2021 às 17:58, Dan Wilcox danomatika@gmail.com escreveu:
Alex: If the question is really "hey, can we have that 'make an app' option that Pd-extended had?"
yup
then it perhaps makes sense to first look at the code in Pd-extended which did this action:
https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/pd_menuco...
which calls
https://sourceforge.net/p/pure-data/pd-extended/ci/master/tree/tcl/makeapp.t...
I had done that, but my knowledge is limited, I just got that it did with tcl/tk and so I asked if we could have this as some tcl/tk plugin, but I wouldn't know if there was something else in the way I just couldn't see...
I imagine it could be ported to a gui plugin that would create a standalone "app" using the version of Pd and the current platform. As Christof mentions, it's basically copying the Pd install into a new folder and renaming some stuff. For Mac, that folder is the .app bundle and follows a rather strict layout. This could reasonably be extended for Windows and Linux.
Awesome, so it seems there's nothing "unreasonable". I'll put a pin on this then, and talk to a friend who already worked with tcl/tk plugins to see if he'd be interested in doing this.
thanks