File tree Expand file tree Collapse file tree 1 file changed +7
-21
lines changed
BrowserStackLocal/BrowserStackLocal Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -69,32 +69,18 @@ static bool IsAlpine()
69
69
70
70
static string GetBinaryName ( )
71
71
{
72
- if ( IsWindows ( ) )
73
- {
74
- return "BrowserStackLocal.exe" ;
75
- }
76
- else if ( IsDarwin ( uname ) )
77
- {
78
- return "BrowserStackLocal-darwin-x64" ;
79
- }
80
- else if ( IsLinux ( uname ) )
72
+ if ( IsWindows ( ) ) return "BrowserStackLocal.exe" ;
73
+ if ( IsDarwin ( uname ) ) return "BrowserStackLocal-darwin-x64" ;
74
+
75
+ if ( IsLinux ( uname ) )
81
76
{
82
- if ( Util . Is64BitOS ( ) )
83
- {
84
- if ( IsAlpine ( ) )
77
+ if ( Util . Is64BitOS ( ) )
85
78
{
86
- return "BrowserStackLocal-alpine" ;
79
+ return IsAlpine ( ) ? "BrowserStackLocal-alpine" : "BrowserStackLocal-linux-x64 ";
87
80
}
88
- else
89
- {
90
- return "BrowserStackLocal-linux-x64" ;
91
- }
92
- }
93
- else
94
- {
95
81
return "BrowserStackLocal-linux-ia32" ;
96
- }
97
82
}
83
+
98
84
return "BrowserStackLocal.exe" ;
99
85
}
100
86
You can’t perform that action at this time.
0 commit comments