mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
0c3766c67b
* Set build version programmatically in build-helper * remove env var definition * fix paths in helper scripts * missing import * missed some more relative paths
19 lines
452 B
JavaScript
19 lines
452 B
JavaScript
const { notarize } = require("@electron/notarize");
|
|
const path = require("path");
|
|
|
|
console.log("running osx-notarize");
|
|
const waveAppPath = path.resolve(__dirname, "temp", "Wave.app");
|
|
|
|
notarize({
|
|
appPath: waveAppPath,
|
|
tool: "notarytool",
|
|
keychainProfile: "notarytool-creds",
|
|
})
|
|
.then(() => {
|
|
console.log("notarize success");
|
|
})
|
|
.catch((e) => {
|
|
console.log("notarize error", e);
|
|
process.exit(1);
|
|
});
|