Skip to content

Instantly share code, notes, and snippets.

View rymcol's full-sized avatar

Ryan Collins rymcol

View GitHub Profile
@rymcol
rymcol / Packaging_Example.sh
Created February 2, 2018 15:33 — forked from asmaloney/Packaging_Example.sh
This is an example of script to package up and create a DMG for a Mac OS X app. Details may be found here: http://asmaloney.com/2013/07/howto/packaging-a-mac-os-x-application-using-a-dmg/
#!/bin/bash
# by Andy Maloney
# http://asmaloney.com/2013/07/howto/packaging-a-mac-os-x-application-using-a-dmg/
# make sure we are in the correct dir when we double-click a .command file
dir=${0%/*}
if [ -d "$dir" ]; then
cd "$dir"
fi