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 {
4040 } else if (osname .contains ("mac" ) || osname .contains ("darwin" )) {
4141 binFileName = "BrowserStackLocal-darwin-x64" ;
4242 } 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+ }
4550 } else {
46- String arch = System .getProperty ("os.arch" );
47- binFileName = "BrowserStackLocal-linux-" + (arch .contains ("64" ) ? "x64" : "ia32" );
51+ binFileName = "BrowserStackLocal-linux-ia32" ;
4852 }
4953 } else {
5054 throw new LocalException ("Failed to detect OS type" );
You can’t perform that action at this time.
0 commit comments