-
-
Notifications
You must be signed in to change notification settings - Fork 201
/
Copy pathnwjs.js
79 lines (74 loc) · 1.32 KB
/
nwjs.js
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
const files = [
"<%= dir.tmp_prod %>/**"
];
const ignoreBinWin32 = "!<%= dir.tmp_prod %>/bin/win32/**";
const ignoreBinWin64 = "!<%= dir.tmp_prod %>/bin/win64/**";
module.exports = {
options: {
files,
buildDir: "<%= dir.releases %>",
cacheDir: "<%= dir.cache %>",
flavor : "normal",
zip : false,
winIco : "<%= dir.resources %>/icons/icon-16-32-48-256.ico",
macIcns : "<%= dir.resources %>/icons/icon-1024.icns",
macPlist: {
CFBundleIdentifier : "<%= main['app-identifier'] %>",
CFBundleName : "<%= main['display-name'] %>",
CFBundleDisplayName: "<%= main['display-name'] %>"
}
},
win32: {
options: {
platforms: [ "win32" ],
version: "0.83.0",
files: [
...files,
ignoreBinWin64
]
}
},
win64: {
options: {
platforms: [ "win64" ],
version: "0.83.0",
files: [
...files,
ignoreBinWin32
]
}
},
osx64: {
options: {
platforms: [ "osx64" ],
version: "0.83.0",
files: [
...files,
ignoreBinWin32,
ignoreBinWin64
]
}
},
linux32: {
options: {
platforms: [ "linux32" ],
version: "0.83.0",
files: [
...files,
ignoreBinWin32,
ignoreBinWin64
]
}
},
linux64: {
options: {
platforms: [ "linux64" ],
version: "0.83.0",
files: [
...files,
ignoreBinWin32,
ignoreBinWin64
]
}
}
};