cask "paintcode" do version "3.5.4" sha256 "7e8598e9d0f4c8d84207a02a9deecf126c116e0ab158c35a54b9bb1f17da46fc" url "https://www.pixelcut.com/paintcode#{version.major}/paintcode_#{version}.zip", verified: "pixelcut.com/" name "PaintCode" desc "Turn vector drawings into program code" homepage "https://www.paintcodeapp.com/" livecheck do url "https://www.pixelcut.com/paintcode#{version.major}/appcast.xml" strategy :sparkle, &:short_version end app "PaintCode.app" zap trash: [ "~/Library/Application Support/com.pixelcut.paintcode*", "~/Library/HTTPStorages/com.pixelcut.paintcode*", "~/Library/Preferences/com.pixelcut.paintcode*.plist", "~/Library/Saved Application State/com.pixelcut.paintcode*.savedState", ] end