diff --git a/desktop/scripts/ipc-handlers/native-module-host-proxy.js b/desktop/scripts/ipc-handlers/native-module-host-proxy.js index 875c1d4e..b2b51bcc 100644 --- a/desktop/scripts/ipc-handlers/native-module-host-proxy.js +++ b/desktop/scripts/ipc-handlers/native-module-host-proxy.js @@ -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) {