Merge pull request #2720 from h3poteto/fix/notarize

Fix notarize
This commit is contained in:
AkiraFukushima 2021-09-02 21:12:49 +09:00 committed by GitHub
commit 9314fc7700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 2 deletions

View File

@ -9,9 +9,11 @@ exports.default = async function notarizing(context) {
const appName = context.packager.appInfo.productFilename
return await notarize({
tool: 'legacy',
appBundleId: 'org.whalebird.desktop',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_PASSWORD
appleIdPassword: process.env.APPLE_PASSWORD,
teamId: 'HB4N6B2YVM'
})
}

View File

@ -89,7 +89,7 @@
"category": "public.app-category.social-networking",
"entitlements": "plist/entitlements.mac.plist",
"entitlementsInherit": "plist/entitlements.mac.plist",
"hardenedRuntime" : true,
"hardenedRuntime": true,
"gatekeeperAssess": false
},
"win": {
@ -261,6 +261,7 @@
"electron-debug": "^3.2.0",
"electron-devtools-installer": "^3.2.0",
"electron-mock-ipc": "^0.3.11",
"electron-notarize": "^1.1.0",
"electron-packager": "^15.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",

View File

@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>

View File

@ -4617,6 +4617,14 @@ electron-notarize@^1.0.0:
debug "^4.1.1"
fs-extra "^9.0.1"
electron-notarize@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-1.1.0.tgz#00ed0182366b97f5593cb5ccdcf1120f1de37179"
integrity sha512-Dmp/jm2y3PTcjmjVe+jCT0sjsbBfbNuk7GOPtduZce2iae1hgAPnlNErk6x70TalsGIL5Ip3liSryqde/6eB5w==
dependencies:
debug "^4.1.1"
fs-extra "^9.0.1"
electron-osx-sign@^0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/electron-osx-sign/-/electron-osx-sign-0.5.0.tgz#fc258c5e896859904bbe3d01da06902c04b51c3a"