From e0a8ebf2bf80cb6533d231a8ef892eec555acc70 Mon Sep 17 00:00:00 2001 From: "edwinclement08.com server" Date: Sun, 17 Jul 2022 14:38:20 +0000 Subject: [PATCH] Alpine Linux Support & updated DL paths for rest --- lib/browserstack/localbinary.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/browserstack/localbinary.rb b/lib/browserstack/localbinary.rb index 1e9c77c..d3231e2 100644 --- a/lib/browserstack/localbinary.rb +++ b/lib/browserstack/localbinary.rb @@ -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