Casks/y/yandex-music.rb
cask "yandex-music" do
version "5.5.0"
sha256 "9989b75707582f961a0b83470dc530ab836ec5af46b6346397f1689506c9f473"
url "https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_universal_#{version}.dmg",
verified: "music-desktop-application.s3.yandex.net/stable/"
name "Yandex Music"
desc "Tune in to Yandex Music and get personal recommendations"
homepage "https://music.yandex.ru/"
livecheck do
url "https://music-desktop-application.s3.yandex.net/stable/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
depends_on macos: ">= :catalina"
app "Яндекс Музыка.app"
zap trash: [
"~/Library/Application Support/YandexMusic",
"~/Library/Logs/YandexMusic",
"~/Library/Saved Application State/ru.yandex.desktop.music.savedState",
]
end