node-pty
Advanced tools
Comparing version 0.11.0-beta6 to 0.11.0-beta7
@@ -72,3 +72,4 @@ "use strict"; | ||
var workerData = { conoutPipeName: _conoutPipeName }; | ||
this._worker = new worker_threads_1.Worker(path_1.join(__dirname, 'worker/conoutSocketWorker.js'), { workerData: workerData }); | ||
var scriptPath = __dirname.replace('node_modules.asar', 'node_modules.asar.unpacked'); | ||
this._worker = new worker_threads_1.Worker(path_1.join(scriptPath, 'worker/conoutSocketWorker.js'), { workerData: workerData }); | ||
this._worker.on('message', function (message) { | ||
@@ -75,0 +76,0 @@ switch (message) { |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.11.0-beta6", | ||
"version": "0.11.0-beta7", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "main": "./lib/index.js", |
@@ -43,3 +43,4 @@ /** | ||
const workerData: IWorkerData = { conoutPipeName: _conoutPipeName }; | ||
this._worker = new Worker(join(__dirname, 'worker/conoutSocketWorker.js'), { workerData }); | ||
const scriptPath = __dirname.replace('node_modules.asar', 'node_modules.asar.unpacked'); | ||
this._worker = new Worker(join(scriptPath, 'worker/conoutSocketWorker.js'), { workerData }); | ||
this._worker.on('message', (message: ConoutWorkerMessage) => { | ||
@@ -46,0 +47,0 @@ switch (message) { |
Sorry, the diff of this file is not supported yet
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
1119274
4156