Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
openfin-launcher
Advanced tools
This library has been deprecated, please use the launch
functionallity in the js-adapter library.
OpenFin-Launcher is a Node.js module that automates the downloading and launching of the OpenFin Runtime. This module assumes you have an application config file. You can read up on application config options in the OpenFin config file API docs, or generate it automatically with the openfin-config-builder.
$ npm install --save openfin-launcher
var openfinLauncher = require('openfin-launcher');
openfinLauncher.launchOpenFin({
//Launch a hosted application
configPath: 'http://localhost:5000/app.json'
//Or a file path
//configPath: '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://cdn.openfin.co/release/rvm/latest'
})
.then(function() {
console.log('success!');
})
.fail(function(error) {
console.log('error!', error);
});
Type: String
Default Value: ''
OpenFin Application Configuration file path as described in the OpenFin config file API docs.
Examples:
'http://localhost:3000/app.json'
'C:/helloWorld/app.json'
'/home/userx/app.json'
Type: String
Default Value: path.resolve('OpenFinRVM.exe');
OpenFin RVM location, if not found at the specified path the latest version will be downloaded.
Type: String
Default Value: https://cdn.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.
The code in this repository is distributed under the Apache License, Version 2.0
However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin's Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or just email us at support@openfin.co with questions.
Copyright 2018-2019 OpenFin
FAQs
OpenFin launcher
We found that openfin-launcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.