create dmg

178 views
Skip to first unread message

Joe Blue

unread,
Jul 30, 2016, 7:00:43 PM7/30/16
to golang-nuts
recommended way for a gopher to make a dmg, so my users can install my golang app ?

i searched for a pure golang solution, but go nada.

thanks joe

Raffaele Sena

unread,
Jul 30, 2016, 7:44:24 PM7/30/16
to Joe Blue, golang-nuts
This uses some python modules, that should be ok if you are building your installer on a mac:



--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anmol Sethi

unread,
Jul 30, 2016, 7:50:30 PM7/30/16
to Joe Blue, golang-nuts
I think you mean you want an .app they can drop in their /Applications folder.

A dmg is just a disk image. You can very easily create that: https://support.apple.com/kb/PH22247?locale=en_US

See https://mathiasbynens.be/notes/shell-script-mac-apps for creating a custom .app.

I know it says script but it should work fine for a go program.

Anmol Sethi

unread,
Jul 30, 2016, 7:55:57 PM7/30/16
to Joe Blue, golang-nuts
And check this out: http://ramezanpour.net/post/2014/05/12/how-to-create-installation-dmg-files-in-os-x/

> On Jul 30, 2016, at 7:00 PM, Joe Blue <joeb...@gmail.com> wrote:
>
Reply all
Reply to author
Forward
0 new messages