Skip to content

Commit

Permalink
Updated notarize process
Browse files Browse the repository at this point in the history
  • Loading branch information
tijmenNL committed Jan 29, 2025
1 parent 566e231 commit d9afeae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions build/afterSignHook.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fs = require('fs');
const path = require('path');
const { notarize } = require('@electron/notarize');

module.exports = async function (params) {
module.exports = async function(params) {
// Only notarize the app on Mac OS only.
if (params.electronPlatformName !== 'darwin') {
return;
Expand Down Expand Up @@ -34,7 +34,8 @@ module.exports = async function (params) {
appBundleId: appId,
appPath: appPath,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASSWORD
appleIdPassword: process.env.APPLE_ID_PASSWORD,
teamId: process.env.TEAM_ID
});
} catch (error) {
console.error(error);
Expand Down
2 changes: 0 additions & 2 deletions build/entitlements.mac.inherit.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
</dict>
Expand Down

0 comments on commit d9afeae

Please sign in to comment.