We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4586a3e + 560755f commit 6498856Copy full SHA for 6498856
lib/LocalBinary.js
@@ -15,6 +15,7 @@ const packageName = 'browserstack-local-nodejs';
15
function LocalBinary(){
16
this.hostOS = process.platform;
17
this.is64bits = process.arch == 'x64';
18
+ this.isArm64 = process.arch == 'arm64';
19
this.baseRetries = 9;
20
this.sourceURL = null;
21
this.downloadErrorMessage = null;
@@ -71,7 +72,9 @@ function LocalBinary(){
71
72
this.windows = true;
73
return sourceURL + 'BrowserStackLocal.exe';
74
} else {
- if(this.is64bits) {
75
+ if(this.isArm64) {
76
+ return sourceURL + 'BrowserStackLocal-linux-arm64';
77
+ } else if(this.is64bits) {
78
if(this.isAlpine())
79
return sourceURL + 'BrowserStackLocal-alpine';
80
else
0 commit comments