homebrew-cask/Casks/b/banana-cake-pop.rb

33 lines
1.1 KiB
Ruby

cask "banana-cake-pop" do
arch arm: "arm64", intel: "x64"
version "16.0.3"
sha256 arm: "7a03dee6ed8c30fbcf2c6e28443de3c71065e04fa136a58c6478a4032b84b8da",
intel: "c78ee1b86dc5884833ad7357718ba8b1fa1fe9996c727f39fb933ee66ce7250a"
url "https://download.chillicream.com/bananacakepop/BananaCakePop-#{version}-mac-#{arch}.dmg"
name "Banana Cake Pop"
desc "IDE to interact with GraphQL servers"
homepage "https://chillicream.com/"
livecheck do
url "https://download.chillicream.com/bananacakepop/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
depends_on macos: ">= :high_sierra"
app "Banana Cake Pop.app"
zap trash: [
"~/Library/Application Support/@banana-cake-pop",
"~/Library/Application Support/bananacakepop",
"~/Library/Caches/com.chillicream.bananacakepop",
"~/Library/Caches/com.chillicream.bananacakepop.ShipIt",
"~/Library/Preferences/ByHost/com.chillicream.bananacakepop.ShipIt.*.plist",
"~/Library/Preferences/com.chillicream.bananacakepop.plist",
"~/Library/Saved Application State/com.chillicream.bananacakepop.savedState",
]
end