mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user