View Single Post
Old 09-06-2019, 11:01 AM   #23
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
So use this one from the hdiutil man page, right?

ULFO - UDIF lzfse-compressed image (OS X 10.11+ only)

or is there a newer "UFLO" available but not documented in the man page?


Quote:
Originally Posted by kovidgoyal View Post
If you dont download the dmg using safari, it wont trigger gatekeeper as safari is what sets the attributes of the dmg file that tell gatekeeper that the app was downloaded form the internet and needs to be checked. And ust FYI on newer versions of macOS you can use UFLO rmat for dmg which greatly improves compression.
edit:

Okay using this command line to generate a dmg:

hdiutil create ./Sigil-0.9.18-Mac-Package.dmg -volname "Sigil" -srcfolder ./Sigil.app -format ULFO

gives me

124508032 6 Sep 11:07 Sigil-0.9.18-Mac-Package.dmg


Using .tar.xz (.txz) on the app itself gives me

78071020 3 Sep 11:22 Sigil.app-0.9.18-Mac.txz

So I am saving roughly 40 to 46 meg of download by using tar.xz just on Sigil.app

Am I simply using the wrong command options on hdiutil?

Last edited by KevinH; 09-06-2019 at 11:17 AM.
KevinH is online now   Reply With Quote