-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathelectron-builder.js
More file actions
64 lines (63 loc) · 1.49 KB
/
electron-builder.js
File metadata and controls
64 lines (63 loc) · 1.49 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
57
58
59
60
61
62
63
64
/**
* @type {import('electron-builder').Configuration}
*/
const config = {
productName: 'Atlassify',
appId: 'com.electron.atlassify',
copyright: 'Copyright © 2026 Adam Setch',
asar: true,
files: [
'assets/images/**/*',
'assets/sounds/**/*',
'build/**/*',
'LICENSE',
'node_modules/**/*', // Ideally we would have !node_modules and let electron-builder prune deps
'package.json',
],
electronLanguages: ['en'],
mac: {
category: 'public.app-category.developer-tools',
icon: 'assets/images/app-icon.icns',
identity: 'Adam Setch (5KD23H9729)',
type: 'distribution',
notarize: false, // Handle notarization in afterSign.js
target: {
target: 'default',
arch: ['universal', 'arm64', 'x64'],
},
hardenedRuntime: true,
entitlements: 'assets/entitlements.mac.plist',
entitlementsInherit: 'assets/entitlements.mac.plist',
gatekeeperAssess: false,
},
dmg: {
icon: 'assets/images/app-icon.icns',
sign: false,
},
win: {
target: [
{
target: 'nsis',
arch: ['x64'],
},
],
icon: 'assets/images/app-icon.ico',
},
nsis: {
oneClick: false,
uninstallDisplayName: 'Atlassify',
},
linux: {
target: ['AppImage', 'deb', 'rpm'],
category: 'Productivity',
maintainer: 'Adam Setch',
},
publish: {
provider: 'github',
owner: 'setchy',
repo: 'atlassify',
},
afterSign: 'scripts/afterSign.js',
afterPack: 'scripts/afterPack.js',
};
module.exports = config;