-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.js
42 lines (40 loc) · 945 Bytes
/
build.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
"use strict"
var builder = require("electron-builder"),
targets = builder.Platform;
builder.build({
targets: targets.WINDOWS.createTarget(),
config: {
"appId": "com.cemui.app",
"productName": "CemUI",
"asar": true,
"icon": "icon.ico",
"directories": {
"output": "builds"
},
extraResources: [
"defaults",
"uni.cert",
],
files: [
"!builds",
"!.gitignore",
"!README.md",
"!CHANGELOG.md",
"!FAQ.md",
"!issue_template.md",
"!logo.psd",
"!logo.png",
"!build.js",
"!smm.js",
"!test.js",
"!cemui.info.log",
"!cemui.error.log",
"!cemui.log",
"!log.txt",
],
}
}).then(() => {
console.log('Done');
}).catch((error) => {
throw error;
});