33 lines
938 B
Ruby
33 lines
938 B
Ruby
cask "tidal" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "2.34.2"
|
|
sha256 arm: "ba0ef379601811638378a0b012b010a175247cb5f0834eda012e19301f0d5627",
|
|
intel: "0cc14a71dd6cd2593ce93c566cf755ac9ce5535aea8e43f65836ced7c159bb98"
|
|
|
|
url "https://download.tidal.com/desktop/mac/TIDAL.#{arch}.#{version}.zip"
|
|
name "TIDAL"
|
|
desc "Music streaming service with high fidelity sound and hi-def video quality"
|
|
homepage "https://tidal.com/"
|
|
|
|
livecheck do
|
|
url "https://download.tidal.com/desktop/mac/update-#{arch}.json"
|
|
strategy :json do |json|
|
|
json["currentRelease"]
|
|
end
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "TIDAL.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/TIDAL",
|
|
"~/Library/Caches/com.tidal.desktop",
|
|
"~/Library/Caches/com.tidal.desktop.ShipIt",
|
|
"~/Library/Logs/TIDAL",
|
|
"~/Library/Preferences/com.tidal.*",
|
|
"~/Library/Saved Application State/com.tidal.desktop.savedState",
|
|
]
|
|
end
|