[PD] Distributing externals in notarized DMGs, was: http get/post request in pd. how to?

Dan Wilcox danomatika at gmail.com
Sun Nov 27 15:51:19 CET 2022


No, no dragging would need to be required. A script can mount the dmg, then copy the contents from the mount location, typically: /Volumes/pdextern-1.2.3/

Something like:

    mkdir  ~/Documents/Pd/externals/pdextern-1.2.3/
    hdituil mount pdextern-1.2.3.dmg
    cp -R  /Volumes/pdextern-1.2.3/* ~/Documents/Pd/externals/pdextern-1.2.3/
    hdiutil unmount  /Volumes/pdextern-1.2.3

It's a couple more steps than unzipping a zip file, but results in the same thing.

The important part is that the dmg needs to have its volume name set the same as the filename since the volume name is used when mounting.

> On Nov 27, 2022, at 3:46 PM, Alexandre Torres Porres <porres at gmail.com> wrote:
> 
> Em dom., 27 de nov. de 2022 às 08:53, Dan Wilcox <danomatika at gmail.com <mailto:danomatika at gmail.com>> escreveu:
> I assume deken cannot currently extract DMGs but it might be good if we can offer that as an option, ie. zip the dmg into the .dek, then the dmg is unzipped, then mounted using the system's hdiutil.
> 
> We'd need then to drag the folder from the mounted dmg to the 'externals' folder, right? That does not seem optimal :/ 
> 
> 
> 
>  
> 
>> On Nov 27, 2022, at 12:00 PM, pd-list-request at lists.iem.at <mailto:pd-list-request at lists.iem.at> wrote:
>> 
>> Message: 1
>> Date: Sat, 26 Nov 2022 15:36:28 +0100
>> From: KHM Mail <t.hartmann at khm.de <mailto:t.hartmann at khm.de>>
>> To: IOhannes m zm?lnig <zmoelnig at iem.at <mailto:zmoelnig at iem.at>>
>> Cc: pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>
>> Subject: Re: [PD] http get/post request in pd. how to?
>> Message-ID: <7A28C93B-343F-4D88-9E95-1F5EECC99326 at khm.de <mailto:7A28C93B-343F-4D88-9E95-1F5EECC99326 at khm.de>>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> thanks! Installation works. 
>> 
>> Installed this package:
>> 304_2022-11-20_purest_json[v2.0.0-alpha](Darwin-amd64-32)(Darwin-arm64-32).dek
>> 
>> It?s quite some work to confirm all security warnings  (MacOS 12.5.1) ? hihi
>> 
> 
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
> 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list <https://lists.puredata.info/listinfo/pd-list>

--------
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-list/attachments/20221127/381a83ba/attachment-0001.htm>


More information about the Pd-list mailing list