Skip to content

Commit

Permalink
let it works in mac book m1
Browse files Browse the repository at this point in the history
Signed-off-by: lifubang <[email protected]>
  • Loading branch information
lifubang authored and giggio committed Dec 2, 2020
1 parent afe2b93 commit 469dd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function validatePlatform() {
process.exit(1);
}
} else if (thePlatform === 'darwin' || thePlatform === 'freebsd') {
if (process.arch === 'x64') {
if (process.arch === 'x64' || process.arch == 'arm64') {
thePlatform = 'mac64';
} else {
console.log('Only Mac 64 bits supported.');
Expand Down

0 comments on commit 469dd0a

Please sign in to comment.