#openfin-launcher
![Build Status](https://travis-ci.org/openfin/node-openfin-launcher.svg?branch=master)
A node module that downloads and launches the OpenFin Runtime
Currently only supports Windows.
Install
$ npm install --save openfin-launcher
Usage
var openfinLauncher = require('openfin-launcher');
openfinLauncher.launchOpenFin({
configPath: 'file:/C:/helloWorld/app.json'
})
.then(function() {
console.log('success!');
})
.fail(function(error) {
console.log('error!', error);
});
openfinLauncher.launchOpenFin({
configPath: 'http://localhost:5000/app.json'
})
.then(function() {
console.log('success!');
})
.fail(function(error) {
console.log('error!', error);
});
License
MIT