diff --git a/forge.config.js b/forge.config.js index cb2bf81bb..97628a26f 100644 --- a/forge.config.js +++ b/forge.config.js @@ -153,6 +153,7 @@ let config = { shell: true, }); + // Clear out prebuilds for other architectures // 1) we don't need them // 2) windows binary signing tool blows up when it tries to sign them. @@ -164,6 +165,13 @@ let config = { fs.rmSync(path, { recursive: true }); } }); + if (platform === "darwin") { + const npmInstall = spawnSync("npm", ["install", "mac-alias"], { + cwd: buildPath, + stdio: "inherit", + shell: "true", + }); + } // Workaround from https://www.update.rocks/blog/fixing-the-python3/ if (platform === "darwin") { // Directory to inspect