Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmg-canvas: use versioned url #174658

Merged
merged 1 commit into from
May 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions Casks/d/dmg-canvas.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
cask "dmg-canvas" do
version "4.0.8,400032"
sha256 :no_check
version "4.0.8"
sha256 "8cd7204af752fd04364da5d5c7e2a383b83f50fac5e04a26b23e64e1e5d92321"

url "https://arweb-assets.s3.amazonaws.com/downloads/dmgcanvas/DMGCanvas.dmg",
url "https://arweb-assets.s3.amazonaws.com/downloads/dmgcanvas/versions/DMGCanvas#{version}.zip",
verified: "arweb-assets.s3.amazonaws.com/downloads/dmgcanvas/"
name "DMG Canvas"
desc "Stylised disk images made easy"
homepage "https://www.araelium.com/dmgcanvas"

livecheck do
url :url
strategy :extract_plist
url "https://www.araelium.com/support/dmgcanvas/download-previous-versions"
regex(/href=.*?DMGCanvas[._-]?v?(\d+(?:\.\d+)+)\.(?:dmg|pkg|zip)/i)
end

depends_on macos: ">= :big_sur"

app "DMG Canvas.app"

zap trash: [
Expand Down
Loading