/phonegap-app-desktop

PhoneGap Desktop App

Primary LanguageJavaScriptApache License 2.0Apache-2.0

PhoneGap App Desktop Build status

Initial prototype of creating a desktop app for the PhoneGap CLI.

Getting Started

How To Build the PhoneGap App Desktop

  1. Make sure you have Git installed & setup; instructions can be found here.
  2. Make sure you have nodejs installed.
  3. Create a fork of the phonegap-gui repository.
  4. Clone your fork of the repository.
  5. Navigate to project folder on your local machine.
  6. Follow instructions in the Setup section.
  7. Follow instructions in the Build Development Binaries section or the Build Release Binaries section.

Setup

# install grunt cli
$ [sudo] npm install -g grunt-cli

# install dev dependencies
$ npm install

Development

# watch src/ and compile to www/
$ grunt watch

Build Development Binaries

# builds development binaries & runs the app
$ grunt

note: the first build requires a second call to grunt.

Build Release Binaries

# builds release binaries & runs the app
$ grunt release

Run App

# runs app without building
$ grunt open

Opens the application located in:

  • OS X: build/PhoneGap/osx/PhoneGap.app
  • Windows: build/PhoneGap/win/PhoneGap.exe