electron-edge-js
Advanced tools
Comparing version 30.0.0 to 30.0.1
@@ -46,4 +46,4 @@ var fs = require('fs') | ||
} | ||
if (process.env.EDGE_USE_CORECLR && !process.env.EDGE_BOOTSTRAP_DIR && fs.existsSync(path.join(__dirname, 'bootstrap', 'bin', 'Release', 'netcoreapp3.1', 'bootstrap.dll'))) { | ||
process.env.EDGE_BOOTSTRAP_DIR = path.join(__dirname, 'bootstrap', 'bin', 'Release', 'netcoreapp3.1'); | ||
if (process.env.EDGE_USE_CORECLR && !process.env.EDGE_BOOTSTRAP_DIR && fs.existsSync(path.join(__dirname, 'bootstrap', 'bin', 'Release', 'net6.0', 'bootstrap.dll'))) { | ||
process.env.EDGE_BOOTSTRAP_DIR = path.join(__dirname, 'bootstrap', 'bin', 'Release', 'net6.0'); | ||
} | ||
@@ -117,3 +117,3 @@ | ||
if (process.env.EDGE_USE_CORECLR) { | ||
var defaultManifest = path.join(__dirname, 'bootstrap', 'bin', 'Release', 'netcoreapp3.1', 'bootstrap.deps.json'); | ||
var defaultManifest = path.join(__dirname, 'bootstrap', 'bin', 'Release', 'net6.0', 'bootstrap.deps.json'); | ||
var compilerManifest; | ||
@@ -120,0 +120,0 @@ if (compiler.getBootstrapDependencyManifest) { |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "30.0.0", | ||
"version": "30.0.1", | ||
"description": "Edge.js: run .NET and Node.js in-process on Electron", | ||
@@ -11,0 +11,0 @@ "tags": [ |
@@ -52,3 +52,3 @@ var spawn = require('child_process').spawn; | ||
if (code === 0) { | ||
process.env['EDGE_APP_ROOT'] = path.join(testDir, 'bin', 'Debug', 'netcoreapp3.1'); | ||
process.env['EDGE_APP_ROOT'] = path.join(testDir, 'bin', 'Debug', 'net6.0'); | ||
var electronPath = path.resolve(__dirname, '../test/main.js') | ||
@@ -55,0 +55,0 @@ spawn(electron, [electronPath], { |
16534906