forked from beyond-all-reason/bar-lobby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.electron-builder.config.js
42 lines (41 loc) · 957 Bytes
/
.electron-builder.config.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
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
const config = {
files: ["out/main", "out/renderer", "node_modules/better-sqlite3"],
asarUnpack: ["**/*.{node,dll}"],
directories: {
buildResources: "buildResources",
},
appId: "beyond-all-reason",
productName: "Beyond All Reason",
extraResources: [
{
from: "resources",
to: ".",
filter: "**/*",
},
],
win: {
target: ["nsis"],
},
nsis: {
oneClick: false,
perMachine: true,
allowToChangeInstallationDirectory: true,
},
linux: {
target: ["AppImage"],
category: "Game",
},
publish: null,
fileAssociations: [
{
"ext": "sdfz",
"description": "BAR Replay File",
"role": "Viewer"
}
]
};
module.exports = config;