Skip to content

Commit 2234451

Browse files
authored
feat: notarization (Vencord#776)
1 parent 9acc665 commit 2234451

File tree

3 files changed

+1393
-699
lines changed

3 files changed

+1393
-699
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ jobs:
4747
- name: Run Electron Builder
4848
if: ${{ matrix.platform == 'mac' }}
4949
run: |
50+
echo "$API_KEY" > apple.p8
5051
pnpm electron-builder --${{ matrix.platform }} --publish always
5152
env:
52-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
CSC_LINK: ${{ secrets.APPLE_SIGNING_CERT }}
53+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
CSC_LINK: ${{ secrets.APPLE_SIGNING_CERT }}
55+
API_KEY: ${{ secrets.APPLE_API_KEY }}
56+
APPLE_API_KEY: apple.p8
57+
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
58+
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}

package.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vesktop",
33
"version": "1.5.3",
44
"private": true,
5-
"description": "",
5+
"description": "Vesktop is a custom Discord desktop app",
66
"keywords": [],
77
"homepage": "https://vencord.dev/",
88
"license": "GPL-3.0",
@@ -32,29 +32,29 @@
3232
},
3333
"devDependencies": {
3434
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
35-
"@types/node": "^20.11.26",
36-
"@types/react": "^18.2.0",
37-
"@typescript-eslint/eslint-plugin": "^7.2.0",
38-
"@typescript-eslint/parser": "^7.2.0",
35+
"@types/node": "^20.14.11",
36+
"@types/react": "^18.3.3",
37+
"@typescript-eslint/eslint-plugin": "^7.17.0",
38+
"@typescript-eslint/parser": "^7.17.0",
3939
"@vencord/types": "^1.8.4",
4040
"dotenv": "^16.4.5",
41-
"electron": "^31.1.0",
42-
"electron-builder": "^24.13.3",
43-
"esbuild": "^0.20.1",
41+
"electron": "^31.2.1",
42+
"electron-builder": "^25.0.1",
43+
"esbuild": "^0.20.2",
4444
"eslint": "^8.57.0",
4545
"eslint-config-prettier": "^9.1.0",
4646
"eslint-import-resolver-alias": "^1.1.2",
47-
"eslint-plugin-license-header": "^0.6.0",
48-
"eslint-plugin-path-alias": "^1.0.0",
49-
"eslint-plugin-prettier": "^5.1.3",
50-
"eslint-plugin-simple-import-sort": "^12.0.0",
51-
"eslint-plugin-unused-imports": "^3.1.0",
52-
"prettier": "^3.2.5",
47+
"eslint-plugin-license-header": "^0.6.1",
48+
"eslint-plugin-path-alias": "^1.1.0",
49+
"eslint-plugin-prettier": "^5.2.1",
50+
"eslint-plugin-simple-import-sort": "^12.1.1",
51+
"eslint-plugin-unused-imports": "^3.2.0",
52+
"prettier": "^3.3.3",
5353
"source-map-support": "^0.5.21",
54-
"tsx": "^4.7.1",
55-
"type-fest": "^4.12.0",
56-
"typescript": "^5.4.2",
57-
"xml-formatter": "^3.6.2"
54+
"tsx": "^4.16.2",
55+
"type-fest": "^4.23.0",
56+
"typescript": "^5.5.4",
57+
"xml-formatter": "^3.6.3"
5858
},
5959
"packageManager": "[email protected]",
6060
"engines": {
@@ -124,13 +124,15 @@
124124
]
125125
}
126126
],
127-
"category": "Network",
127+
"category": "public.app-category.social-networking",
128+
"darkModeSupport": true,
128129
"extendInfo": {
129130
"NSMicrophoneUsageDescription": "This app needs access to the microphone",
130131
"NSCameraUsageDescription": "This app needs access to the camera",
131132
"com.apple.security.device.audio-input": true,
132133
"com.apple.security.device.camera": true
133-
}
134+
},
135+
"notarize": true
134136
},
135137
"dmg": {
136138
"background": "build/background.tiff",
@@ -184,4 +186,4 @@
184186
185187
}
186188
}
187-
}
189+
}

0 commit comments

Comments
 (0)