Skip to content

Commit

Permalink
Merge pull request #172344 from Homebrew/figma-beta
Browse files Browse the repository at this point in the history
figma@beta: migrate from `homebrew/cask-versions`
  • Loading branch information
cho-m authored Apr 27, 2024
2 parents 10b155b + 8ba55b6 commit 3c4d3b1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Casks/f/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
cask "figma@beta" do
arch arm: "mac-arm", intel: "mac"

version "124.0.1"
sha256 arm: "47c55dc8a4e22ef773a93ec4659c10f880c4c503d5f6ce679a84213655267153",
intel: "9f4f1abd15aacd1bf40def96edaa3019896a9f10f163c0d02e9ae37e0dca2327"

url "https://desktop.figma.com/#{arch}/beta/FigmaBeta-#{version}.zip"
name "Figma Beta"
desc "Collaborative team software"
homepage "https://figma.com/"

livecheck do
url "https://desktop.figma.com/#{arch}/beta/RELEASE.json"
strategy :json do |json|
json["version"]
end
end

depends_on macos: ">= :sierra"

app "Figma Beta.app"

zap trash: [
"~/Library/Caches/com.figma.agent",
"~/Library/Preferences/com.figma.DesktopBeta.plist",
"~/Library/Saved Application State/com.figma.DesktopBeta.savedState",
]
end

0 comments on commit 3c4d3b1

Please sign in to comment.