From d20ce404ef74235219f58bf5a550b972acd8e0df Mon Sep 17 00:00:00 2001 From: Moetaz Date: Wed, 4 Oct 2017 21:01:39 +0200 Subject: [PATCH] Update atom-shell-vs-node-webkit.md nwjs now supports a js script as entrypoint. cf. http://docs.nwjs.io/en/latest/References/Manifest%20Format/#main --- docs/development/atom-shell-vs-node-webkit.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/development/atom-shell-vs-node-webkit.md b/docs/development/atom-shell-vs-node-webkit.md index a1604976a932..a419caea10dc 100644 --- a/docs/development/atom-shell-vs-node-webkit.md +++ b/docs/development/atom-shell-vs-node-webkit.md @@ -11,9 +11,9 @@ Electron a completely separate product from NW.js: __1. Entry of Application__ -In NW.js the main entry point of an application is a web page. You specify a -main page URL in the `package.json` and it is opened in a browser window as -the application's main window. +In NW.js the main entry point of an application is a web page or a JS script. You specify a +html or js file in the `package.json` and it is opened in a browser window as +the application's main window (in case of an html entrypoint) or the script is executed. In Electron, the entry point is a JavaScript script. Instead of providing a URL directly, you manually create a browser window and load