waveterm/buildres/osx-notarize.js

15 lines
357 B
JavaScript
Raw Normal View History

const { notarize } = require('@electron/notarize');
// DEBUG=electron-notarize
console.log("running osx-notarize");
notarize({
appPath: "temp/Wave.app",
tool: "notarytool",
keychainProfile: "notarytool-creds",
}).then(() => {
console.log("notarize success");
}).catch((e) => {
console.log("notarize error", e);
process.exit(1);
});