mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-05-07 17:05:09 +00:00
fix(build): adjust macOS build process to ensure compatibility with x86_64 architecture using Rosetta
This commit is contained in:
@@ -233,7 +233,7 @@ try {
|
||||
|
||||
let spawnCmd = cmd;
|
||||
let spawnArgs = licensesArgs;
|
||||
const rosettaX64 = isDarwin && arch === "x64" && process.arch === "arm64" && !process.env.PYTHON_CMD;
|
||||
const rosettaX64 = isDarwin && arch === "x64" && process.arch === "arm64";
|
||||
if (rosettaX64) {
|
||||
spawnCmd = "arch";
|
||||
spawnArgs = ["-x86_64", cmd, ...licensesArgs];
|
||||
|
||||
Reference in New Issue
Block a user