forked from webtorrent/webtorrent-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14b13cb
commit 0e47c66
Showing
3 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ npm-debug.log* | |
# JetBrains IntelliJ IDEA project files | ||
.idea | ||
*.iml | ||
|
||
secrets.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -267,6 +267,7 @@ function buildDarwin (cb) { | |
function signApp (cb) { | ||
const sign = require('electron-osx-sign') | ||
const { notarize } = require('electron-notarize') | ||
const { appleId, appleIdPassword, teamId } = require('../secrets.json'); | ||
|
||
/* | ||
* Sign the app with Apple Developer ID certificates. We sign the app for 2 reasons: | ||
|
@@ -296,9 +297,9 @@ function buildDarwin (cb) { | |
const notarizeOpts = { | ||
appBundleId: darwin.appBundleId, | ||
appPath, | ||
appleId: '[email protected]', | ||
appleIdPassword: '@keychain:AC_PASSWORD', | ||
teamId: 'V75C78WU28', | ||
appleId, | ||
appleIdPassword, | ||
teamId, | ||
tool: 'notarytool' | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"appleId": "[email protected]", // Email of the Apple ID used to sign the app | ||
"appleIdPassword": "@keychain:AC_PASSWORD", // App-specific password or keychain reference to a App-specific password for the Apple ID used to sign the app | ||
"teamId": "ABC123" // Apple team id | ||
} |