File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
src/main/java/com/browserstack/local Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,15 @@ private void initialize() throws LocalException {
40
40
} else if (osname .contains ("mac" ) || osname .contains ("darwin" )) {
41
41
binFileName = "BrowserStackLocal-darwin-x64" ;
42
42
} else if (osname .contains ("linux" )) {
43
- if (isAlpine ()) {
44
- binFileName = "BrowserStackLocal-alpine" ;
43
+ String arch = System .getProperty ("os.arch" );
44
+ if (arch .contains ("64" )) {
45
+ if (isAlpine ()) {
46
+ binFileName = "BrowserStackLocal-alpine" ;
47
+ } else {
48
+ binFileName = "BrowserStackLocal-linux-x64" ;
49
+ }
45
50
} else {
46
- String arch = System .getProperty ("os.arch" );
47
- binFileName = "BrowserStackLocal-linux-" + (arch .contains ("64" ) ? "x64" : "ia32" );
51
+ binFileName = "BrowserStackLocal-linux-ia32" ;
48
52
}
49
53
} else {
50
54
throw new LocalException ("Failed to detect OS type" );
You can’t perform that action at this time.
0 commit comments