Skip to content

Commit

Permalink
Merge pull request #28 from browserstack/LOC_3660_add_alpine_supported
Browse files Browse the repository at this point in the history
Alpine Linux Support & updated DL paths for rest
  • Loading branch information
bipul21 authored Jul 20, 2022
2 parents e1ccc86 + e0a8ebf commit ba2eaea
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/browserstack/localbinary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ def initialize
@http_path = case host_os
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
@windows = true
"https://s3.amazonaws.com/browserStack/browserstack-local/BrowserStackLocal.exe"
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal.exe"
when /darwin|mac os/
"https://s3.amazonaws.com/browserStack/browserstack-local/BrowserStackLocal-darwin-x64"
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal-darwin-x64"
when /linux-musl/
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal-alpine"
when /linux/
if 1.size == 8
"https://s3.amazonaws.com/browserStack/browserstack-local/BrowserStackLocal-linux-x64"
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal-linux-x64"
else
"https://s3.amazonaws.com/browserStack/browserstack-local/BrowserStackLocal-linux-ia32"
"https://bstack-local-prod.s3.amazonaws.com/BrowserStackLocal-linux-ia32"
end
end

Expand Down

0 comments on commit ba2eaea

Please sign in to comment.