homebrew-cask/Casks/p/principle.rb

25 lines
793 B
Ruby

cask "principle" do
version "6.33"
sha256 "80c1e23017dc20ce419b5d178339b738715cf2d1373f89d528c0a645c42abbb5"
url "https://principleformac.com/download/Principle_#{version.dots_to_underscores}.zip"
name "Principle"
desc "Design animated and interactive user interfaces"
homepage "https://principleformac.com/"
livecheck do
url "https://principleformac.com/update2.xml"
strategy :sparkle, &:short_version
end
app "Principle.app"
zap trash: [
"~/Library/Application Support/com.danielhooper.principle",
"~/Library/Caches/com.danielhooper.principle",
"~/Library/HTTPStorages/com.danielhooper.principle",
"~/Library/Preferences/com.danielhooper.principle.plist",
"~/Library/Saved Application State/com.danielhooper.principle.savedState",
]
end