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 <[email protected]> wrote:
>
> Em dom., 27 de nov. de 2022 às 08:53, Dan Wilcox <[email protected]
> <mailto:[email protected]>> 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, [email protected]
>> <mailto:[email protected]> wrote:
>>
>> Message: 1
>> Date: Sat, 26 Nov 2022 15:36:28 +0100
>> From: KHM Mail <[email protected] <mailto:[email protected]>>
>> To: IOhannes m zm?lnig <[email protected] <mailto:[email protected]>>
>> Cc: [email protected] <mailto:[email protected]>
>> Subject: Re: [PD] http get/post request in pd. how to?
>> Message-ID: <[email protected]
>> <mailto:[email protected]>>
>> 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/>
>
>
>
> _______________________________________________
> [email protected] <mailto:[email protected]> 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/>
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list