From 9b527fa43fa5abd6440cd2cbcba928cd11427343 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 18 Dec 2023 17:04:12 -0800 Subject: [PATCH] try to force the install of mac-alias? god i hope this does not work --- forge.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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