mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
21 lines
744 B
JavaScript
21 lines
744 B
JavaScript
|
const { signAsync } = require("@electron/osx-sign");
|
||
|
// DEBUG="electron-osx-sign*"
|
||
|
|
||
|
console.log("running osx-sign");
|
||
|
let waveAppPath = "temp/Wave.app";
|
||
|
signAsync({
|
||
|
app: "temp/Wave.app",
|
||
|
binaries: [
|
||
|
waveAppPath + "/Contents/Resources/app/bin/wavesrv",
|
||
|
waveAppPath + "/Contents/Resources/app/bin/mshell/mshell-v0.3-linux.amd64",
|
||
|
waveAppPath + "/Contents/Resources/app/bin/mshell/mshell-v0.3-linux.arm64",
|
||
|
waveAppPath + "/Contents/Resources/app/bin/mshell/mshell-v0.3-darwin.amd64",
|
||
|
waveAppPath + "/Contents/Resources/app/bin/mshell/mshell-v0.3-darwin.arm64",
|
||
|
],
|
||
|
}).then(() => {
|
||
|
console.log("signing success");
|
||
|
}).catch((e) => {
|
||
|
console.log("signing error", e);
|
||
|
process.exit(1);
|
||
|
});
|