mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-31 18:18:02 +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
21 lines
629 B
JavaScript
21 lines
629 B
JavaScript
const eu = require("@electron/universal");
|
|
const path = require("path");
|
|
|
|
const x64Path = path.resolve(__dirname, "temp", "x64", "Wave.app");
|
|
const arm64Path = path.resolve(__dirname, "temp", "arm64", "Wave.app");
|
|
const outPath = path.resolve(__dirname, "temp", "Wave.app");
|
|
|
|
console.log("building universal package");
|
|
console.log("x64 path", x64Path);
|
|
console.log("arm64 path", arm64Path);
|
|
console.log("output path", outPath);
|
|
|
|
(async () => {
|
|
await eu.makeUniversalApp({
|
|
x64AppPath: x64Path,
|
|
arm64AppPath: arm64Path,
|
|
outAppPath: outPath,
|
|
});
|
|
console.log("created macos universal app");
|
|
})();
|