bluestacks 10.4.0.6907

This commit is contained in:
Bevan Kay
2023-10-16 13:40:01 +11:00
parent 8553472a91
commit 3cef441c53
+4 -4
View File
@@ -1,15 +1,15 @@
cask "bluestacks" do
version "4.270.1.2803,c610c2d26a70cad789a74e586a08e51f"
sha256 "a2e76c99a78d9c2559c2f0d2d1ab069f8f721468ec887939746820ef02927dc3"
version "10.4.0.6907,f1d20c10cba982dc3ee4b6d975380943"
sha256 "b3c5220119bbd29bfcd9f7f3eea4b1054e9cbb7ca8be134b3647aebf64210c00"
url "https://cdn3.bluestacks.com/downloads/mac/bgp64_mac/#{version.csv.first}/#{version.csv.second}/x64/BlueStacksInstaller_#{version.csv.first}.dmg"
url "https://mac-cdn.bluestacks.com/public/app-player/mac/nxt_mac/#{version.csv.first}/#{version.csv.second}/md5/x64/BlueStacks_X_#{version.csv.first}.dmg"
name "BlueStacks"
desc "Mobile gaming platform"
homepage "https://www.bluestacks.com/"
livecheck do
url "https://cloud.bluestacks.com/api/getdownloadnow?platform=mac&mac_version=#{MacOS.full_version}"
regex(%r{/(\d(?:\.\d+)*)/([^/]+)/})
regex(%r{/(\d+(?:\.\d+)*)/([^/]+)/})
strategy :header_match do |headers, regex|
headers["location"].scan(regex).map { |match| "#{match[0]},#{match[1]}" }
end