vectorsize / appify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Appify

Command line that compiles a script into an OSX application bundle.
ported from http://git.abackstrom.com/appify.git

Installation

$ npm install -g vectorsize/appify

Default usage

To compile using the defaults simply type

$ appify ScriptName

This will create an ScriptName.app application next to your ScriptName.
If there is an icon file called main.icns the app will be bundled with that icon.
please note that the icon must be a valid OSX icns resource

Advanced usage

You can run de command for a given directory:

$ appify .

The script will look for a package.json file in the specified path and the default options are overwritten.

The default package.json looks like this:

{
  "name": "#{ScriptName}",
  "version": "1.0.0",
  "icon": "main.icns",
  "main": "#{ScriptName}"
}

This means that you can also specify a version for your Application bundle, a different icns resource and a different application name.

About


Languages

Language:JavaScript 100.0%