mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
d405352823
* testing universal build * arch files not required anymore * use CGO_ENABLED for wavesrv. write out notes about the universal build problems/solution * script and updates for universal build * more updates for sign/notarize flow for universal app * put in prod migration check * build prompt to wave migration into emain. updates to macos build scripts * update some packages * successful universal build * remove unused code
21 lines
620 B
JavaScript
21 lines
620 B
JavaScript
const eu = require("@electron/universal");
|
|
const path = require("path");
|
|
|
|
let x64Path = path.resolve(__dirname, "temp", "x64", "Wave.app")
|
|
let arm64Path = path.resolve(__dirname, "temp", "arm64", "Wave.app")
|
|
let 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");
|
|
})();
|