Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openfin-launcher

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openfin-launcher

OpenFin launcher

  • 0.1.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-22.22%
Maintainers
3
Weekly downloads
 
Created
Source

#OpenFin-Launcher Build Status

OpenFin-Launcher is an Node.js module that automates the downloading and launching of The OpenFin Runtime. This module asumes you have an application config file. You can read up on application config options on the OpenFin config file API docs, or generate it automatically with the openfin-config-builder.

Currently only supports Windows.

Getting Started

$ npm install --save openfin-launcher

Usage

var openfinLauncher = require('openfin-launcher');

openfinLauncher.launchOpenFin({
        //Launch a hosted application
        configPath: 'http://localhost:5000/app.json'
        //Or a file path
        //configPath: 'file:/C:/helloWorld/app.json'
    })
    .then(function() {
        console.log('success!');
    })
    .fail(function(error) {
        console.log('error!', error);
    });

//you can also specify the location of the OpenFin Runtime rvm and the download url
openfinLauncher.launchOpenFin({
        configPath: 'http://localhost:5000/app.json',
        rvmPath: 'C:/helloWorld/OpenFinRMV.exe',
        rvmUrl: 'https://developer.openfin.co/release/rvm/latest'
    })
    .then(function() {
        console.log('success!');
    })
    .fail(function(error) {
        console.log('error!', error);
    });

##Options

####configPath Type: String

Default Value: ''

OpenFin Application Configuration file path as described in the OpenFin config file API docs.

Examples:

'http://localhost:3000/app.json'
'file:/C:/helloWorld/app.json'

####rvmPath Type: String

Default Value: path.resolve('OpenFinRVM.exe');

OpenFin RVM location, if not found at the specified path the latest version will be downloaded.

###rvmUrl Type: String

Default Value: https://developer.openfin.co/release/rvm/latest

Location to the OpenFin RVM downoad URL, if the OpenFin RVM is not found this URL will be used to download the binary.

License

MIT

Keywords

FAQs

Package last updated on 03 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc