electron-edge-js
Advanced tools
Comparing version 12.18.3 to 12.18.4
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "12.18.3", | ||
"version": "12.18.4", | ||
"description": "Edge.js: run .NET and Node.js in-process on Electron", | ||
@@ -11,0 +11,0 @@ "tags": [ |
@@ -22,3 +22,3 @@ .NET and Node.js in-process on Electron | ||
Usage is the same as edge or edge-js, replace `require('edge')` or `require('edge-js')` with `require('electron-edge-js')`: | ||
Usage is the same as edge or edge-js, replace `require('edge-js')` with `require('electron-edge-js')`: | ||
@@ -44,3 +44,2 @@ ```bash | ||
## Why use `electron-edge-js`? | ||
@@ -52,13 +51,23 @@ | ||
## Differences from `electron-edge` | ||
## Quick start | ||
* Uses same codebase as `edge-js` that comes with both latest code changes from `edge` project and additional fixes and improvements available in `edge-js` project. | ||
* Supports majority of Electron versions. | ||
Simple app that shows how to work with .NET Core using compiled C# libraries. | ||
https://github.com/agracio/electron-edge-js-quick-start | ||
## Quick start | ||
## Packaging Electron application | ||
Simple app that shows how to work with .NET Core using compiled C# libraries. https://github.com/agracio/electron-edge-js-quick-start | ||
Packaging example based on the app above. | ||
https://github.com/zenb/electron-edge-js-quick-start | ||
Related issues to use for troubleshooting: | ||
https://github.com/agracio/electron-edge-js/issues/39 | ||
https://github.com/agracio/electron-edge-js/issues/74 | ||
## Async execution | ||
Underlying 'edge' component is written as synchronous C++ Node.js module and will cause Electron app to freeze when executing long running .NET code. | ||
For workaround refer to this issue: https://github.com/agracio/electron-edge-js/issues/97 | ||
## Documentation | ||
For full documentation please see see original [edge-js](https://github.com/agracio/edge-js) repo. |
@@ -1,2 +0,2 @@ | ||
var http = require('http'); | ||
var http = require('https'); | ||
@@ -6,4 +6,4 @@ var urls; | ||
urls = [ | ||
'http://nodejs.org/dist/v' + process.argv[3] + '/node.exe', | ||
'http://nodejs.org/dist/v' + process.argv[3] + '/win-x86/node.exe' | ||
'https://nodejs.org/dist/v' + process.argv[3] + '/node.exe', | ||
'https://nodejs.org/dist/v' + process.argv[3] + '/win-x86/node.exe' | ||
]; | ||
@@ -13,4 +13,4 @@ } | ||
urls = [ | ||
'http://nodejs.org/dist/v' + process.argv[3] + '/x64/node.exe', | ||
'http://nodejs.org/dist/v' + process.argv[3] + '/win-x64/node.exe' | ||
'https://nodejs.org/dist/v' + process.argv[3] + '/x64/node.exe', | ||
'https://nodejs.org/dist/v' + process.argv[3] + '/win-x64/node.exe' | ||
]; | ||
@@ -17,0 +17,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
71
27777573
1380