-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.electron-builder.config.js
56 lines (55 loc) · 1.08 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
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
const config = {
directories: {
output: 'dist',
buildResources: 'buildResources',
},
files: ['packages/**/dist/**'],
productName: 'Icon Shelf',
appId: 'com.IconShelf.app',
// afterSign: './scripts/Notarize.js',
mac: {
target: [
{
target: 'default',
arch: ['arm64', 'x64'],
},
],
type: 'distribution',
hardenedRuntime: true,
entitlements: 'buildResources/entitlements.mac.plist',
entitlementsInherit: 'buildResources/entitlements.mac.plist',
gatekeeperAssess: false,
notarize: true,
},
dmg: {
contents: [
{
x: 130,
y: 220,
},
{
x: 410,
y: 220,
type: 'link',
path: '/Applications',
},
],
},
win: {
target: ['nsis'],
},
linux: {
target: ['AppImage'],
category: 'Development',
},
publish: {
provider: 'github',
owner: 'MrRobz',
repo: 'icon-shelf',
},
};
module.exports = config;