Skip to content

Instantly share code, notes, and snippets.

@thesabbir
Created January 30, 2014 08:52
Show Gist options
  • Save thesabbir/8704823 to your computer and use it in GitHub Desktop.
Save thesabbir/8704823 to your computer and use it in GitHub Desktop.
Simple Command Line Helper to Package and Run Node Webkit App For OS X
#!/bin/sh
echo 'Packaging...'
cd $1/Contents/Resources/app/
pwd
echo 'Zipping..'
zip -r app *
echo "Done.."
echo "Moving.."
mv app.zip ../app.nw
if [ -z "$2" ]
then
echo "Completed !"
else
open $1
echo "App is running !"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment