forked from neutralinojs/neutralinojs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathneutralino.config.json
80 lines (80 loc) · 2.27 KB
/
neutralino.config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"applicationId": "js.neutralino.sample",
"version": "0.0.1",
"defaultMode": "window",
"port": 0,
"url": "/",
"documentRoot": "/resources/",
"enableServer": true,
"tokenSecurity": "one-time",
"enableNativeAPI": true,
"exportAuthInfo": false,
"serverHeaders": {
"Test-Header-Option": "Test Value"
},
"logging": {
"enabled": true,
"writeToLogFile": true
},
"nativeBlockList": [],
"globalVariables": {
"TEST1": "Hello",
"TEST2": [2, 4, 5],
"TEST3": {
"value1": 10,
"value2": {}
}
},
"modes": {
"window": {
"title": "Neutralinojs app",
"width": 800,
"height": 500,
"minWidth": 400,
"minHeight": 200,
"fullScreen": false,
"alwaysOnTop": false,
"icon": "/resources/icons/appIcon.png",
"enableInspector": true,
"borderless": false,
"maximize": false,
"hidden": false,
"resizable": true,
"exitProcessOnClose": false,
"port": 0
},
"browser": {
"globalVariables": {
"TEST": "Test value browser"
},
"nativeBlockList": ["filesystem.*", "os.*"]
},
"cloud": {
"url": "/resources/#cloud",
"nativeAllowList": ["app.*", "storage.*"]
},
"chrome": {
"width": 800,
"height": 500,
"args": "--user-agent=\"Neutralinojs chrome mode\"",
"nativeBlockList": ["filesystem.*", "os.*"]
}
},
"cli": {
"binaryName": "neutralino",
"resourcesPath": "/resources/",
"extensionsPath": "/extensions/",
"clientLibrary": "/resources/js/neutralino.js"
},
"extensions": [
{
"id": "js.neutralino.sampleextension",
"commandLinux": "node ${NL_PATH}/extensions/sampleextension/main.js --linux",
"commandDarwin": "node ${NL_PATH}/extensions/sampleextension/main.js --darwin",
"commandWindows": "node ${NL_PATH}/extensions/sampleextension/main.js --windows"
},
{
"id": "js.neutralino.driverprocess"
}
]
}