-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathelectron-builder.json5
65 lines (65 loc) · 1.2 KB
/
electron-builder.json5
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
{
productName: 'Flare Player',
appId: 'com.flare.player',
copyright: 'ⓒ 2021-2025 Jooy2 (jooy2.com)',
asar: true,
extends: null,
compression: 'maximum',
artifactName: '${productName} ${version}_${arch}.${ext}',
directories: {
buildResources: './buildAssets/installer/',
output: './release/${version}',
},
files: ['dist/**/*', '!release/**/*', '!tests/**/*'],
fileAssociations: [
{
ext: 'swf',
name: 'SWF File',
role: 'Viewer',
},
],
win: {
target: [
{
target: 'zip',
arch: 'x64',
},
{
target: 'nsis',
arch: 'x64',
},
],
icon: './buildAssets/installer/icon.ico',
},
nsis: {
oneClick: true,
},
mac: {
identity: null,
hardenedRuntime: true,
gatekeeperAssess: false,
icon: 'buildAssets/installer/icon.icns',
type: 'distribution',
target: [
{
target: 'dmg',
arch: ['x64', 'arm64'],
},
],
},
linux: {
executableName: 'flare',
icon: 'buildAssets/installer',
category: 'Game',
target: [
{
target: 'deb',
arch: 'x64',
},
{
target: 'rpm',
arch: 'x64',
},
],
},
}