homebrew-cask/Casks/t/typeface.rb

27 lines
800 B
Ruby

cask "typeface" do
version "3.9.1,3773"
sha256 "0ce98aae51bd236260a9174f8712ff605bf925548405339021fe100d9cba0943"
url "https://dcdn.typefaceapp.com/Typeface-#{version.csv.first}-#{version.csv.second}/Typeface-#{version.csv.first}-#{version.csv.second}.dmg"
name "Typeface"
desc "Font manager application"
homepage "https://typefaceapp.com/"
livecheck do
url "https://dcdn.typefaceapp.com/appcast.xml"
strategy :sparkle
end
depends_on macos: ">= :catalina"
app "Typeface.app"
uninstall quit: "com.criminalbird.typeface.standalone"
zap trash: [
"~/Library/Application Scripts/com.criminalbird.typeface.standalone",
"~/Library/Containers/com.criminalbird.typeface.standalone",
"~/Library/Preferences/com.criminalbird.typeface.standalone.plist",
]
end