cask "wordpresscom" do arch arm: "arm64", intel: "x64" version "8.0.4" sha256 arm: "4fea40eba336ad397a0c55f511a7942c6314970d9daa57fedb609ff487887a21", intel: "8f76a13f4b2f152b20220d196af8b60236d475d65a5689849efd9e0f50a308b2" url "https://github.com/Automattic/wp-desktop/releases/download/v#{version}/wordpress.com-macOS-dmg-#{version}-#{arch}.dmg", verified: "github.com/Automattic/wp-desktop/" name "WordPress.com" desc "WordPress client" homepage "https://apps.wordpress.com/desktop/" livecheck do url :url strategy :github_latest end auto_updates true depends_on macos: ">= :high_sierra" app "WordPress.com.app" uninstall quit: "com.automattic.wordpress" zap trash: [ "~/Library/Application Support/Caches/wordpressdesktop-updater", "~/Library/Application Support/Wordpress.com", "~/Library/Caches/com.automattic.wordpress", "~/Library/Caches/com.automattic.wordpress.ShipIt", "~/Library/HTTPStorages/com.automattic.wordpress", "~/Library/Preferences/ByHost/com.automattic.wordpress.ShipIt.*.plist", "~/Library/Preferences/com.automattic.wordpress*.plist", "~/Library/Saved Application State/com.automattic.wordpress.savedState", ] end