homebrew-cask/Casks/binance.rb

26 lines
675 B
Ruby

cask "binance" do
version "1.31.0"
sha256 "417145c66269ba42bdc39b9d1027129350299f306d66f7606efd72f6e03bdc51"
url "https://ftp.binance.com/electron-desktop/mac/production/binance-#{version}.dmg"
name "Binance"
desc "Cryptocurrency exchange"
homepage "http://binance.com/"
livecheck do
url "https://ftp.binance.com/electron-desktop/mac/production/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
depends_on macos: ">= :el_capitan"
app "Binance.app"
zap trash: [
"~/Library/Application Support/Binance",
"~/Library/Logs/Binance",
"~/Library/Saved Application State/com.binance.BinanceDesktop.savedState",
]
end