Skip to content

Instantly share code, notes, and snippets.

View leogama's full-sized avatar

Leonardo Gama leogama

View GitHub Profile
@leogama
leogama / appify.sh
Last active January 20, 2018 00:52 — forked from oubiwann/appify.sh
appify — create the simplest possible Mac app from a shell script (adds an application icon)
#!/usr/bin/env bash
VERSION=4.0.1
SCRIPT=`basename "$0"`
APPNAME="My App"
APPICONS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns"
OSX_VERSION=`sw_vers -productVersion`
PWD=`pwd`
function usage {