We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b40d75 commit f2b25feCopy full SHA for f2b25fe
src/utils/registry.ts
@@ -136,7 +136,7 @@ export const hostPlatform = ((): BrowserPlatform => {
136
let arm64 = false;
137
// BigSur is the first version that might run on Apple Silicon.
138
if (major >= 11) {
139
- arm64 = execSync('sysctl -in hw.optional.arm64', {
+ arm64 = execSync('/usr/sbin/sysctl -in hw.optional.arm64', {
140
stdio: ['ignore', 'pipe', 'ignore']
141
}).toString().trim() === '1';
142
}
0 commit comments