You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that it is that PR that caused the regression. I'm trying to get this script to output "0" and it doesn't seem to matter if I'm running in rosetta mode or not:
// Try running with arch -x86_64 node test.js, and you'll still see "1" on the output
const childProcess = require('child_process');
const output = childProcess.execSync('sysctl -in sysctl.proc_translated');
console.log(output.toString());
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Electron Version
15.3.3
What operating system are you using?
macOS
Operating System Version
12.0.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
14.2.2
Expected Behavior
arch -x86_64 /bin/bash
npm install --arch=x64 electron@15.3
file node_modules/electron/dist/Electron.app/Contents/MacOS/Electron
You'll notice the arm64 version was installed, but I expected the x86 version to be installed.
Actual Behavior
The arm64 version was installed.
Testcase Gist URL
No response
Additional Information
This worked fine in 14.2.2:
npm install --arch=x64 electron@14.2.2
file node_modules/electron/dist/Electron.app/Contents/MacOS/Electron
A workaround that helped me:
This was inspired by noticing this PR: #29953
I believe that it is that PR that caused the regression. I'm trying to get this script to output "0" and it doesn't seem to matter if I'm running in rosetta mode or not:
The text was updated successfully, but these errors were encountered: