cask "plezy" do version "2.9.1" sha256 "8cdc0cba43d82d358193575a6a71edc58749a59081e48fe188abc5c78b4be2c6" url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg" name "Plezy" desc "Modern Plex and Jellyfin client built with Flutter" homepage "https://github.com/edde746/plezy" livecheck do url :url strategy :github_latest end auto_updates true app "Plezy.app" postflight do system_command "/usr/bin/xattr", args: ["-cr", "#{appdir}/Plezy.app"], sudo: false end uninstall quit: "com.edde746.plezy" zap trash: [ "~/Library/Application Support/com.edde746.plezy", "~/Library/Caches/com.edde746.plezy", "~/Library/HTTPStorages/com.edde746.plezy", "~/Library/Preferences/com.edde746.plezy.plist", "~/Library/Saved Application State/com.edde746.plezy.savedState", "~/Library/WebKit/com.edde746.plezy", ] end