-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.config.js
61 lines (60 loc) · 1.05 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
const config = {
appId: 'kjd.gspro.slxproxy',
productName: 'GSPro SLX Proxy',
directories: {
output: 'release',
buildResources: 'build',
},
files: ['dist-main/index.js', 'dist-preload/index.js', 'dist-renderer/**/*'],
extraMetadata: {
version: process.env.VITE_APP_VERSION,
},
mac: {
icon: 'build/icon.png',
hardenedRuntime: true,
gatekeeperAssess: false,
target: [
{
target: 'dmg',
arch: 'universal',
},
{
target: 'zip',
arch: 'universal',
},
],
},
win: {
icon: 'build/icon.ico',
target: [
{
target: 'msi',
},
{
target: 'nsis',
},
{
target: 'zip',
},
],
},
linux: {
category: 'Utility',
target: [
{
target: 'AppImage',
},
{
target: 'deb',
},
{
target: 'zip',
},
],
},
};
module.exports = config;