deepspeech-gpu
Advanced tools
Comparing version 0.8.0-alpha.6 to 0.8.0-alpha.7
@@ -14,3 +14,9 @@ "use strict"; | ||
if (process.platform === 'win32') { | ||
const dslib_path = path_1.default.resolve(path_1.default.join(binding_path, '../..')); | ||
var dslib_path = path_1.default.resolve(path_1.default.join(binding_path, '../..')); | ||
// electron-builder does weird magic hand-in-hand with electronjs, | ||
// and messes with the path where we expect things to be for the Windows | ||
// linker. | ||
if ('electron' in process.versions) { | ||
dslib_path = dslib_path.replace("app.asar", "app.asar.unpacked"); | ||
} | ||
var oldPath = process.env.PATH; | ||
@@ -17,0 +23,0 @@ process.env['PATH'] = `${dslib_path};${process.env.PATH}`; |
{ | ||
"name": "deepspeech-gpu", | ||
"version": "0.8.0-alpha.6", | ||
"version": "0.8.0-alpha.7", | ||
"description": "DeepSpeech NodeJS bindings", | ||
@@ -12,3 +12,3 @@ "main": "./index.js", | ||
"license": "MPL-2.0", | ||
"homepage": "https://github.com/mozilla/DeepSpeech/tree/v0.8.0-alpha.6#project-deepspeech", | ||
"homepage": "https://github.com/mozilla/DeepSpeech/tree/v0.8.0-alpha.7#project-deepspeech", | ||
"files": [ | ||
@@ -15,0 +15,0 @@ "README.md", |
143242869
33
592