Skip to content

kettek/go-apper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-apper

This is simply a repository hosting Matt Holt's gist from here.

Building

$ go build -o go-apper

Documentation

Although I may expand upon this in the future, the following text originally written by Holt is provided below (with minor modifications).


Bundling the .app is the first thing it does, and creating the DMG is the second. Making the DMG is optional, and is only done if you provide the template DMG file, which you have to create beforehand.

Example use:

$ go-apper \
	-assets ./folder_with_binary_and_any_resources \
	-bin yourbinary \
	-icon ./appicon1024.png \
	-identifier com.example.whatever
	-name "My App"
	-dmg "My App template.dmg" \
	-o ~/Desktop

You may use this whole program or bits and pieces for whatever you want, but it comes without warranty or support -- I have no idea what I'm doing, as it is, so don't ask me. Sorry. But feel free to learn from it; it's a pretty minimal automation of the whole process for simple, single-binary applications that aren't native Cocoa, and I think I would have found this helpful to have when I was trying to figure it out.

NOTE: This program very likely has obvious bugs. Feel free to suggest improvements to this gist and comment below, but I don't make any guarantees; it worked for me and you're on your own beyond that.

I learned from these pages/posts - thanks, whomever you may be:

About

Go bundled application tool for Mac OS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages