Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/LocalBinary.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const packageName = 'browserstack-local-nodejs';
function LocalBinary(){
this.hostOS = process.platform;
this.is64bits = process.arch == 'x64';
this.isArm64 = process.arch == 'arm64';
this.baseRetries = 9;
this.sourceURL = null;
this.downloadErrorMessage = null;
Expand Down Expand Up @@ -71,7 +72,9 @@ function LocalBinary(){
this.windows = true;
return sourceURL + 'BrowserStackLocal.exe';
} else {
if(this.is64bits) {
if(this.isArm64) {
return sourceURL + 'BrowserStackLocal-linux-arm64';
} else if(this.is64bits) {
if(this.isAlpine())
return sourceURL + 'BrowserStackLocal-alpine';
else
Expand Down