feat: notarization (#776)

This commit is contained in:
lewisakura 2024-07-23 15:10:50 +01:00 committed by GitHub
parent 9acc6652ff
commit 22344512ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1393 additions and 699 deletions

View file

@ -47,7 +47,12 @@ jobs:
- name: Run Electron Builder - name: Run Electron Builder
if: ${{ matrix.platform == 'mac' }} if: ${{ matrix.platform == 'mac' }}
run: | run: |
echo "$API_KEY" > apple.p8
pnpm electron-builder --${{ matrix.platform }} --publish always pnpm electron-builder --${{ matrix.platform }} --publish always
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.APPLE_SIGNING_CERT }} CSC_LINK: ${{ secrets.APPLE_SIGNING_CERT }}
API_KEY: ${{ secrets.APPLE_API_KEY }}
APPLE_API_KEY: apple.p8
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}

View file

@ -2,7 +2,7 @@
"name": "vesktop", "name": "vesktop",
"version": "1.5.3", "version": "1.5.3",
"private": true, "private": true,
"description": "", "description": "Vesktop is a custom Discord desktop app",
"keywords": [], "keywords": [],
"homepage": "https://vencord.dev/", "homepage": "https://vencord.dev/",
"license": "GPL-3.0", "license": "GPL-3.0",
@ -32,29 +32,29 @@
}, },
"devDependencies": { "devDependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2", "@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@types/node": "^20.11.26", "@types/node": "^20.14.11",
"@types/react": "^18.2.0", "@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.2.0", "@typescript-eslint/parser": "^7.17.0",
"@vencord/types": "^1.8.4", "@vencord/types": "^1.8.4",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"electron": "^31.1.0", "electron": "^31.2.1",
"electron-builder": "^24.13.3", "electron-builder": "^25.0.1",
"esbuild": "^0.20.1", "esbuild": "^0.20.2",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2", "eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-license-header": "^0.6.0", "eslint-plugin-license-header": "^0.6.1",
"eslint-plugin-path-alias": "^1.0.0", "eslint-plugin-path-alias": "^1.1.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.0.0", "eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^3.1.0", "eslint-plugin-unused-imports": "^3.2.0",
"prettier": "^3.2.5", "prettier": "^3.3.3",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"tsx": "^4.7.1", "tsx": "^4.16.2",
"type-fest": "^4.12.0", "type-fest": "^4.23.0",
"typescript": "^5.4.2", "typescript": "^5.5.4",
"xml-formatter": "^3.6.2" "xml-formatter": "^3.6.3"
}, },
"packageManager": "pnpm@9.1.0", "packageManager": "pnpm@9.1.0",
"engines": { "engines": {
@ -124,13 +124,15 @@
] ]
} }
], ],
"category": "Network", "category": "public.app-category.social-networking",
"darkModeSupport": true,
"extendInfo": { "extendInfo": {
"NSMicrophoneUsageDescription": "This app needs access to the microphone", "NSMicrophoneUsageDescription": "This app needs access to the microphone",
"NSCameraUsageDescription": "This app needs access to the camera", "NSCameraUsageDescription": "This app needs access to the camera",
"com.apple.security.device.audio-input": true, "com.apple.security.device.audio-input": true,
"com.apple.security.device.camera": true "com.apple.security.device.camera": true
} },
"notarize": true
}, },
"dmg": { "dmg": {
"background": "build/background.tiff", "background": "build/background.tiff",

File diff suppressed because it is too large Load diff