-
Notifications
You must be signed in to change notification settings - Fork 55
/
build.conf
210 lines (210 loc) · 6.08 KB
/
build.conf
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"outputDirectory": "./bin",
"cacheDirectory": "./bin/_cache",
"sourceDirectory": "./src",
"webkitVersion": "0.69.1",
"webkitURL": "https://dl.nwjs.io/v%s/%s",
"manifest": {
"name": "wow.export",
"main": "./src/index.html",
"chromium-args": "--disable-devtools --disable-raf-throttling --mixed-context --enable-node-worker --disable-logging",
"product_string": "wow.export",
"user-agent": "wow.export (%ver); %osinfo",
"window": {
"id": "wow-export-main",
"icon": "./res/icon.png",
"width": 1370,
"height": 988,
"min_width": 1115,
"min_height": 988
}
},
"updaterScript": "./updater/updater.js",
"terserConfig": {
"toplevel": true,
"output": {
"comments": false
},
"compress": {
"pure_funcs": [
"assert.strictEqual",
"assert.notStrictEqual",
"assert.fail",
"assert.throws",
"assert.doesNotThrow",
"assert.deepStrictEqual",
"assert.notDeepStrictEqual"
],
"dead_code": true,
"global_defs": {
"BUILD_RELEASE": true
}
}
},
"manifestInherit": ["name", "description", "license", "version", "contributors"],
"builds": [
{
"name": "win-x64-debug",
"bundle": "nwjs-sdk-v%s-win-x64.zip",
"bundleType": "ZIP",
"sourceMethod": "LINK",
"sourceTarget": "./src",
"manifestTarget": "./package.json",
"filter": {
"blacklist": [
"locales\/[^.]+.pak(.info|)$",
"notification_helper.exe"
],
"whitelist": [
"locales\/en-US.pak$"
]
}
},
{
"name": "win-x64",
"bundle": "nwjs-v%s-win-x64.zip",
"bundleType": "ZIP",
"buildArchive": "ZIP",
"sourceMethod": "BUNDLE",
"sourceTarget": "./src",
"bundleConfig": {
"filterExt": [".js", ".scss", ".css"],
"sassEntry": "app.scss",
"sassOut": "app.css",
"jsEntry": "app.js"
},
"updater": {
"target": "win-x64-node12",
"out": "updater.exe"
},
"updateBundle": {
"bundle": "update",
"manifest": "update.json"
},
"manifestTarget": "./package.json",
"include": {
"LEGAL": "license/LEGAL",
"CHANGELOG.md": "src/CHANGELOG.md",
"resources/icon.png": "res/icon.png",
"src/lib/vue.min.js": "src/lib/vue.js",
"src/lib/three.min.js": "src/lib/three.js",
"addons/blender/2.80/io_scene_wowobj/__init__.py": "addon/io_scene_wowobj/__init__.py",
"addons/blender/2.80/io_scene_wowobj/import_wowobj.py": "addon/io_scene_wowobj/import_wowobj.py",
"addons/blender/2.80/io_scene_wowobj/README.txt": "addon/io_scene_wowobj/README.txt"
},
"remap": {
"nw.exe": "wow.export.exe",
"credits.html": "license/nwjs.html"
},
"rcedit": {
"binary": "wow.export.exe",
"icon": "./resources/icon.ico",
"version-string": {
"CompanyName": "Party Tortollans",
"FileDescription": "Export Toolkit for World of Warcraft",
"LegalCopyright": "Marlamin © 2019",
"ProductName": "wow.export",
"OriginalFilename": "wow.export.exe"
}
},
"filter": {
"blacklist": [
"locales\/[^.]+.pak(.info|)$",
"notification_helper.exe"
],
"whitelist": [
"locales\/en-US.pak$"
]
}
},
{
"name": "linux-x64",
"bundle": "nwjs-v%s-linux-x64.tar.gz",
"bundleType": "GZ",
"buildArchive": "GZ",
"sourceMethod": "BUNDLE",
"sourceTarget": "./src",
"bundleConfig": {
"filterExt": [".js", ".scss", ".css"],
"sassEntry": "app.scss",
"sassOut": "app.css",
"jsEntry": "app.js"
},
"updater": {
"target": "linux-x64",
"out": "updater"
},
"updateBundle": {
"bundle": "update",
"manifest": "update.json"
},
"manifestTarget": "./package.json",
"include": {
"LEGAL": "license/LEGAL",
"resources/icon.png": "res/icon.png",
"src/lib/vue.min.js": "src/lib/vue.js",
"src/lib/three.min.js": "src/lib/three.js",
"addons/blender/2.80/io_scene_wowobj/__init__.py": "addon/io_scene_wowobj/__init__.py",
"addons/blender/2.80/io_scene_wowobj/import_wowobj.py": "addon/io_scene_wowobj/import_wowobj.py",
"addons/blender/2.80/io_scene_wowobj/README.txt": "addon/io_scene_wowobj/README.txt"
},
"remap": {
"nw": "wow.export",
"credits.html": "license/nwjs.html"
},
"filter": {
"blacklist": ["locales\/[^.]+.pak(.info|)$"],
"whitelist": ["locales\/en-US.pak$"]
}
},
{
"name": "osx-x64",
"bundle": "nwjs-v%s-osx-x64.zip",
"bundleType": "ZIP",
"buildArchive": "ZIP",
"sourceMethod": "BUNDLE",
"sourceTarget": "./src",
"bundleConfig": {
"filterExt": [".js", ".scss", ".css"],
"sassEntry": "app.scss",
"sassOut": "app.css",
"jsEntry": "app.js"
},
"updater": {
"target": "macos-x64",
"out": "updater.app"
},
"updateBundle": {
"bundle": "update",
"manifest": "update.json"
},
"sourceTarget": "./wow.export.app/Contents/Resources/app.nw/src",
"manifestTarget": "./wow.export.app/Contents/Resources/app.nw/package.json",
"osxConfig": {
"CFBundleDisplayName": "wow.export",
"infoStringsPath": "./wow.export.app/Contents/Resources/en.lproj/InfoPlist.strings",
"infoXMLPath": "./wow.export.app/Contents/Info.plist"
},
"include": {
"./resources/wet.icns": "./wow.export.app/Contents/Resources/app.icns",
"LEGAL": "./wow.export.app/License/LEGAL",
"src/lib/vue.min.js": "src/lib/vue.js",
"src/lib/three.min.js": "src/lib/three.js",
"addons/blender/2.80/io_scene_wowobj/__init__.py": "addon/io_scene_wowobj/__init__.py",
"addons/blender/2.80/io_scene_wowobj/import_wowobj.py": "addon/io_scene_wowobj/import_wowobj.py",
"addons/blender/2.80/io_scene_wowobj/README.txt": "addon/io_scene_wowobj/README.txt"
},
"remap": {
"nwjs.app": "wow.export.app",
"./wow.export.app/Contents/MacOS/nwjs": "wow.export.app/Contents/MacOS/wow.export",
"credits.html": "./wow.export.app/License/nwjs.html"
},
"filter": {
"blacklist": [
"nwjs.app\/Contents\/Resources\/[^.]+.lproj"
],
"whitelist": ["nwjs.app\/Contents\/Resources\/en.lproj"]
}
}
]
}