cask "principle" do version "6.36" sha256 "3c8bb9c131f3c54966d794c4d8540dcb268ee047d271c0174228d3191daa4242" 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