mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
15 lines
357 B
JavaScript
15 lines
357 B
JavaScript
|
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);
|
||
|
});
|