mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
4ef921bdd1
* Add linux makers * missed some * remove eu-strip * blah * add description * remove v from version * add exec name * use bin * add bin to both * test flatpak * test adding dev dependencies * remove flatpak for now * add command to flatten directory structure * update package info * save rpm info * save work * add bin to packagerConfig * save work * okay let's see what happens * iterate array * test more * remove large * test * test * remove linux arm * test addl targets * add quiet to zip * revert dir flatten * remove pacman * add s3 bucket to electron-builder config * make dir * only copy artifacts * don't merge * zip recurse * blah * replace with electronupdater * make generic * fix * fix stuff * Update build-helper.yml * test fix * fix path * remove tree * messed up comment * remove touch * add platform name to artifact * remove license * remove forge * cleanup builder config * switch artifact name order * Remove darwin restriction on autoupdate * try adding back pacman * fix license * remove pacman again * rewrite scripts * add binary paths to builder * clean up * Update scripts * update interval and readme * remove flatpak and snap dependencies for now * upload with a wildcard * fix paths for addl binaries * add back blockmap * update release path * add newline * remove forge config * 2 small fixes - remove double cd for waveshell building, and remove GOARCH for wavesrv binary in dev mode
38 lines
908 B
JavaScript
38 lines
908 B
JavaScript
// Notarize the Wave.app for macOS
|
|
|
|
const { notarize } = require("@electron/notarize");
|
|
const path = require("path");
|
|
|
|
/**
|
|
* Notarize the Wave.app for macOS
|
|
* @param {string} waveAppPath - Path to the Wave.app
|
|
* @returns {Promise<void>}
|
|
*/
|
|
async function notarizeApp(waveAppPath) {
|
|
return notarize({
|
|
appPath: waveAppPath,
|
|
tool: "notarytool",
|
|
keychainProfile: "notarytool-creds",
|
|
})
|
|
.then(() => {
|
|
console.log("notarize success");
|
|
})
|
|
.catch((e) => {
|
|
console.log("notarize error", e);
|
|
process.exit(1);
|
|
});
|
|
}
|
|
|
|
if (require.main === module) {
|
|
console.log("running osx-notarize");
|
|
const waveAppPath = path.resolve(__dirname, "temp", "Wave.app");
|
|
(async () => {
|
|
await notarizeApp(waveAppPath);
|
|
console.log("notarization complete");
|
|
})();
|
|
}
|
|
|
|
module.exports = {
|
|
notarizeApp,
|
|
};
|