Skip to content

Commit

Permalink
dmg-canvas: use versioned url
Browse files Browse the repository at this point in the history
  • Loading branch information
samford committed May 23, 2024
1 parent 990992b commit 39ad09f
Showing 1 changed file with 7 additions and 5 deletions.
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

0 comments on commit 39ad09f

Please sign in to comment.