Skip to content

Commit

Permalink
feat: notarize
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Aug 5, 2024
1 parent ade734f commit 60b2b41
Show file tree
Hide file tree
Showing 4 changed files with 569 additions and 181 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@ jobs:
- name: Build and Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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 }}
run: cd electron && npm run publish
30 changes: 0 additions & 30 deletions electron/buildResources/notarize.js

This file was deleted.

9 changes: 5 additions & 4 deletions electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"common": "workspace:*",
"discord-rpc": "4.0.1",
"electron": "29.1.4",
"electron-builder": "^24.13.3",
"electron-log": "^5.1.5",
"electron-builder": "^25.0.3",
"electron-log": "^5.1.7",
"electron-updater": "^6.2.1",
"webpack-merge": "^5.10.0"
"webpack-merge": "^6.0.1"
},
"dependencies": {
"@paymoapp/electron-shutdown-handler": "^1.1.2",
Expand Down Expand Up @@ -61,7 +61,6 @@
"repo": "miru"
}
],
"afterSign": "./buildResources/notarize.js",
"appId": "com.github.thaunknown.miru",
"productName": "Miru",
"files": [
Expand All @@ -73,8 +72,10 @@
"defaultArch": "universal",
"singleArchFiles": "node_modules/+(register-scheme|utp-native|fs-native-extensions)/**",
"category": "public.app-category.video",
"darkModeSupport": true,
"icon": "buildResources/icon.icns",
"hardenedRuntime": true,
"notarize": true,
"entitlements": "buildResources/entitlements.mac.plist",
"target": [
{
Expand Down
Loading

0 comments on commit 60b2b41

Please sign in to comment.