-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuilder.config.js
More file actions
56 lines (49 loc) · 1.21 KB
/
builder.config.js
File metadata and controls
56 lines (49 loc) · 1.21 KB
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
/* eslint-disable no-undef */
const path = require("path");
const ICONS_DIR = path.resolve("build", "icons");
const windowsOS = {
win: {
icon: path.join(ICONS_DIR, "icon.ico"),
publisherName: "PurpleHorrorRus",
verifyUpdateCodeSignature: false,
target: "nsis",
publish: ["github"]
},
nsis: {
perMachine: true,
oneClick: false,
allowToChangeInstallationDirectory: true,
differentialPackage: true
}
};
module.exports = Object.assign(windowsOS, {
asar: true,
productName: "StreamOverlay",
appId: "com.purplehorrorrus.streamoverlay",
artifactName: "streamoverlay-${version}.${ext}",
directories: {
output: "build",
buildResources: "dist"
},
files: [
"!**",
"dist/**/*",
"!dist/renderer/icon.psd",
"!dist/renderer/icons",
"!dist/win-unpacked",
"package.json",
"node_modules",
"!node_modules/prettier"
],
extraResources: [
{
from: "./build/icons",
to: "../build/icons"
}
],
publish: {
provider: "github",
repo: "StreamOverlay",
owner: "PurpleHorrorRus"
}
});