mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
24 lines
736 B
Ruby
24 lines
736 B
Ruby
cask "blu-ray-player-pro" do
|
|
version "3.3.22,231010_0359"
|
|
sha256 "7ba71aeb925148e3af80d78b972c16da01a0d09214aaa2acd84f3d803dd1802e"
|
|
|
|
url "https://cdn.macblurayplayer.com/mac-bluray-player-pro#{version.major}/Blu-ray_Player_Pro_#{version.csv.first}_#{version.csv.second}.dmg"
|
|
name "Macgo Mac Blu-ray Player Pro"
|
|
desc "Blu-ray player software"
|
|
homepage "https://www.macblurayplayer.com/"
|
|
|
|
livecheck do
|
|
url "https://cdn.macblurayplayer.com/mac-bluray-player-pro#{version.major}/appcast/Appcast.xml"
|
|
strategy :sparkle do |item|
|
|
match = item.url.match(/_(\d(?:\.\d+)*)_(.*?)\.dmg/)
|
|
next if match.blank?
|
|
|
|
"#{match[1]},#{match[2]}"
|
|
end
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Blu-ray Player Pro.app"
|
|
end
|