fix nw.js config
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
"node-main": "./static-server/server.js",
|
"node-main": "./static-server/server.js",
|
||||||
"main": "http://localhost:7000",
|
"main": "http://localhost:7000",
|
||||||
"node-remote": "http://localhost:7000",
|
"node-remote": "http://localhost:7000",
|
||||||
|
"user-agent": "Mozilla/5.0 (%osinfo) AppleWebKit/%webkit_ver (KHTML, like Gecko, Chrome, Safari) NWjs/%nwver",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "nw .",
|
"start": "nw .",
|
||||||
"build:nw:win:x64": "build --tasks win-x64 --mirror https://npmmirror.com/mirrors/nwjs/ .",
|
"build:nw:win:x64": "build --tasks win-x64 --mirror https://npmmirror.com/mirrors/nwjs/ .",
|
||||||
|
|||||||
Reference in New Issue
Block a user