2023-11-05 08:00:47 +01:00
|
|
|
const eu = require("@electron/universal");
|
|
|
|
const path = require("path");
|
|
|
|
|
2024-02-24 00:14:25 +01:00
|
|
|
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");
|
2023-11-05 08:00:47 +01:00
|
|
|
|
|
|
|
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");
|
|
|
|
})();
|