mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38: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
23 lines
800 B
JavaScript
23 lines
800 B
JavaScript
const { signAsync } = require("@electron/osx-sign");
|
|
const path = require("path");
|
|
|
|
console.log("running osx-sign");
|
|
const waveAppPath = path.resolve(__dirname, "temp", "Wave.app");
|
|
signAsync({
|
|
app: waveAppPath,
|
|
binaries: [
|
|
waveAppPath + "/Contents/Resources/app/bin/wavesrv",
|
|
waveAppPath + "/Contents/Resources/app/bin/mshell/mshell-v0.4-linux.amd64",
|
|
waveAppPath + "/Contents/Resources/app/bin/mshell/mshell-v0.4-linux.arm64",
|
|
waveAppPath + "/Contents/Resources/app/bin/mshell/mshell-v0.4-darwin.amd64",
|
|
waveAppPath + "/Contents/Resources/app/bin/mshell/mshell-v0.4-darwin.arm64",
|
|
],
|
|
})
|
|
.then(() => {
|
|
console.log("signing success");
|
|
})
|
|
.catch((e) => {
|
|
console.log("signing error", e);
|
|
process.exit(1);
|
|
});
|