Skip to content

Instantly share code, notes, and snippets.

@pretzelhands
Last active June 30, 2020 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pretzelhands/06fa07a569f11aad2dd7179840943686 to your computer and use it in GitHub Desktop.
Save pretzelhands/06fa07a569f11aad2dd7179840943686 to your computer and use it in GitHub Desktop.
const { notarize } = require('electron-notarize');
async function notarizing(context) {
console.log("• Starting notarization of app");
return await notarize({
appBundleId: 'com.yourorg.whatever',
appPath: "ABSOLUTE_PATH_TO_APP_FILE",
appleId: "YOUR_APPLE_ID_EMAIL",
appleIdPassword: "YOUR_APP_SPECIFIC_APPLE_ID_PASSWORD", // https://support.apple.com/en-us/HT204397
});
};
notarizing();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment