openfin-launcher
Advanced tools
Comparing version 1.3.11 to 1.3.12
{ | ||
"name": "openfin-launcher", | ||
"version": "1.3.11", | ||
"version": "1.3.12", | ||
"description": "OpenFin launcher", | ||
@@ -5,0 +5,0 @@ "author": "Ricardo de Pena <ricardo.depena@gmail.com>", |
@@ -46,5 +46,9 @@ var spawn = require('child_process').spawn; | ||
} else { | ||
//BUG: in linux there is a bug were '--no-sandbox' is not only required but it needs to be the only thing. | ||
var args = assetUtilities.getRunningOs() !== assetUtilities.OS_TYPES.linux ? config.runtime.arguments : '--no-sandbox'; | ||
var of = spawn(runtimePath, ['--startup-url="' + combinedOpts.configPath + '" ', args], { | ||
var args = config.runtime.arguments ? config.runtime.arguments.split(' ') : []; | ||
//BUG: in linux there is a bug were '--no-sandbox' is required. | ||
if (assetUtilities.getRunningOs() === assetUtilities.OS_TYPES.linux) { | ||
args.push('--no-sandbox'); | ||
} | ||
args.unshift('--startup-url="' + combinedOpts.configPath + '" '); | ||
var of = spawn(runtimePath, args, { | ||
encoding: 'utf8' | ||
@@ -51,0 +55,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24356
525