added --native-module-host-process option

This commit is contained in:
antelle 2021-03-02 21:17:04 +01:00
parent 97374f63f9
commit 0868efe095
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const { EventEmitter } = require('events');
let callbackWebContents;
let nativeModuleHost;
const spawnAnotherProcess = false;
const spawnAnotherProcess = process.argv.includes('--native-module-host-process');
function startHost() {
if (spawnAnotherProcess) {