Skip to content

Commit a229a67

Browse files
authored
Merge pull request nwjs#4960 from cotejp/patch-2
Doc: added JS file as possibility for the "main" field.
2 parents dfa4f71 + 19838ca commit a229a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/References/Manifest Format.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ Each package must provide all the following fields in its package descriptor fil
2626

2727
### main
2828

29-
* `{String}` which page should be opened when NW.js starts.
29+
* `{String}` which HTML page should be opened or which JavaScript file should be executed when NW.js starts.
3030

31-
You can specify a URL here. You can also specify just a filename (such as `index.html`) or a path (relative to the directory where your `package.json` resides).
31+
You can specify a URL here. You can also specify just a filename (such as `index.html` or `script.js`) or a path (relative to the directory where your `package.json` resides).
3232

3333
### name
3434

0 commit comments

Comments
 (0)