bambu-studio 01.08.03.89

This commit is contained in:
Bevan Kay
2024-01-12 22:49:45 +11:00
parent 3373387e54
commit 08a693673f
+6 -5
View File
@@ -1,17 +1,18 @@
cask "bambu-studio" do
version "01.08.02.56,3cb3425770"
sha256 "eb8d3a9ecd3c347acbb2d2a5524a4d1310c721aeeabd940ee6cb0823f4324970"
version "01.08.03.89,20240109202633"
sha256 "72f8a9242160aae4fc0e51eadc8e1ec341975fe7504fe6da90783e02a4dc1598"
url "https://public-cdn.bambulab.com/upgrade/studio/software/#{version.csv.first}/#{version.csv.second}/Bambu_Studio_mac-v#{version.csv.first}.dmg"
url "https://github.com/bambulab/BambuStudio/releases/download/v#{version.csv.first}/Bambu_Studio_mac-v#{version.csv.first}-#{version.csv.second}.dmg",
verified: "github.com/bambulab/BambuStudio/"
name "Bambu Studio"
desc "3D model slicing software for 3D printers, maintained by Bambu Lab"
homepage "https://bambulab.com/en/download/studio"
livecheck do
url :homepage
regex(%r{/(\w+)/Bambu[._-]Studio[._-]mac[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
regex(/href=.*Bambu[._-]Studio[._-]mac[._-]v?(\d+(?:\.\d+)+)[._-](\d+)\.dmg/i)
strategy :page_match do |page, regex|
page.scan(regex).map { |match| "#{match.second},#{match.first}" }
page.scan(regex).map { |match| "#{match.first},#{match.second}" }
end
end