Skip to content

Commit 483daa9

Browse files
committed
build: extract electron builder config
Signed-off-by: Adam Setch <[email protected]>
1 parent f4330fb commit 483daa9

File tree

2 files changed

+67
-65
lines changed

2 files changed

+67
-65
lines changed

electron-builder.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
productName: Gitify
2+
appId: com.electron.gitify
3+
copyright: "Copyright © 2025 Gitify Team"
4+
asar: true
5+
6+
files:
7+
- assets/images/*
8+
- assets/sounds/*
9+
- build/**/*
10+
- LICENSE
11+
- node_modules/**/*
12+
- package.json
13+
14+
electronLanguages:
15+
- en
16+
17+
protocols:
18+
- name: Gitify
19+
schemes:
20+
- gitify
21+
- gitify-dev
22+
23+
mac:
24+
category: public.app-category.developer-tools
25+
icon: assets/images/app-icon.icns
26+
identity: Adam Setch (5KD23H9729)
27+
type: distribution
28+
notarize: false
29+
target:
30+
- target: default
31+
arch: universal
32+
hardenedRuntime: true
33+
entitlements: assets/entitlements.mac.plist
34+
entitlementsInherit: assets/entitlements.mac.plist
35+
gatekeeperAssess: false
36+
extendInfo:
37+
NSBluetoothAlwaysUsageDescription: null
38+
NSBluetoothPeripheralUsageDescription: null
39+
NSCameraUsageDescription: null
40+
NSMicrophoneUsageDescription: null
41+
42+
dmg:
43+
icon: assets/images/app-icon.icns
44+
sign: false
45+
46+
win:
47+
target: nsis
48+
icon: assets/images/app-icon.ico
49+
50+
nsis:
51+
oneClick: false
52+
53+
linux:
54+
target:
55+
- AppImage
56+
- deb
57+
- rpm
58+
category: Development
59+
maintainer: Gitify Team
60+
61+
publish:
62+
provider: github
63+
owner: gitify-app
64+
repo: gitify
65+
66+
afterSign: scripts/notarize.js
67+
afterPack: scripts/afterPack.js

package.json

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -66,71 +66,6 @@
6666
"url": "https://github.com/gitify-app/gitify/issues"
6767
},
6868
"homepage": "https://gitify.io/",
69-
"build": {
70-
"productName": "Gitify",
71-
"appId": "com.electron.gitify",
72-
"copyright": "Copyright © 2025 Gitify Team",
73-
"asar": true,
74-
"files": [
75-
"assets/images/*",
76-
"assets/sounds/*",
77-
"build/**/*",
78-
"LICENSE",
79-
"node_modules/**/*",
80-
"package.json"
81-
],
82-
"electronLanguages": ["en"],
83-
"protocols": [
84-
{
85-
"name": "Gitify",
86-
"schemes": ["gitify", "gitify-dev"]
87-
}
88-
],
89-
"mac": {
90-
"category": "public.app-category.developer-tools",
91-
"icon": "assets/images/app-icon.icns",
92-
"identity": "Adam Setch (5KD23H9729)",
93-
"type": "distribution",
94-
"notarize": false,
95-
"target": {
96-
"target": "default",
97-
"arch": ["universal"]
98-
},
99-
"hardenedRuntime": true,
100-
"entitlements": "assets/entitlements.mac.plist",
101-
"entitlementsInherit": "assets/entitlements.mac.plist",
102-
"gatekeeperAssess": false,
103-
"extendInfo": {
104-
"NSBluetoothAlwaysUsageDescription": null,
105-
"NSBluetoothPeripheralUsageDescription": null,
106-
"NSCameraUsageDescription": null,
107-
"NSMicrophoneUsageDescription": null
108-
}
109-
},
110-
"dmg": {
111-
"icon": "assets/images/app-icon.icns",
112-
"sign": false
113-
},
114-
"win": {
115-
"target": "nsis",
116-
"icon": "assets/images/app-icon.ico"
117-
},
118-
"nsis": {
119-
"oneClick": false
120-
},
121-
"linux": {
122-
"target": ["AppImage", "deb", "rpm"],
123-
"category": "Development",
124-
"maintainer": "Gitify Team"
125-
},
126-
"publish": {
127-
"provider": "github",
128-
"owner": "gitify-app",
129-
"repo": "gitify"
130-
},
131-
"afterSign": "scripts/notarize.js",
132-
"afterPack": "scripts/afterPack.js"
133-
},
13469
"dependencies": {
13570
"@electron/remote": "2.1.2",
13671
"electron-log": "5.3.1",

0 commit comments

Comments
 (0)