cask "logos" do arch arm: "-arm" version "37.2.0.0012" sha256 arm: "846020241f5c1133d656a16d2bb13ec76bda8207ea2a91904b38a844cdeef05e", intel: "0f3b06743fb5d587abc33ee31c5872f90bde098ad6714de2ec2d0c57ce4b9816" url "https://downloads.logoscdn.com/LBS10/Installer/#{version}/LogosMac#{arch}.dmg", verified: "downloads.logoscdn.com/" name "Logos" desc "Bible study software" homepage "https://www.logos.com/" livecheck do url "https://clientservices.logos.com/update/v1/feed/logos10-mac/stable.xml" strategy :xml do |xml| xml.get_elements("//logos:version")&.map { |item| item.text&.strip } end end auto_updates true depends_on macos: ">= :monterey" app "Logos.app" uninstall launchctl: "com.logos.LogosIndexer", quit: "com.logos.Logos" zap trash: [ "~/Library/Preferences/com.logos.Logos.plist", "~/Library/Preferences/com.logos.LogosCEF.plist", "~/Library/Preferences/com.logos.LogosIndexer.plist", ] end