Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / l / logos.rb
blobec9e63647c23bcd1374a185b72279373f5d335e9
1 cask "logos" do
2   arch arm: "-arm"
4   version "39.1.0.0006"
5   sha256 arm:   "3b401cd48468cd7baf2882582dd7992db270b4ae11578052959edfbfb842b3be",
6          intel: "d0acc20801093e0c175cc1c353e7a0539bcd2df525e9c3d37f17b7a2769367ae"
8   url "https://downloads.logoscdn.com/LBS10/Installer/#{version}/LogosMac#{arch}.dmg",
9       verified: "downloads.logoscdn.com/"
10   name "Logos"
11   desc "Bible study software"
12   homepage "https://www.logos.com/"
14   livecheck do
15     url "https://clientservices.logos.com/update/v1/feed/logos10-mac/stable.xml"
16     strategy :xml do |xml|
17       xml.get_elements("//logos:version")&.map { |item| item.text&.strip }
18     end
19   end
21   auto_updates true
22   depends_on macos: ">= :ventura"
24   app "Logos.app"
26   uninstall launchctl: "com.logos.LogosIndexer",
27             quit:      "com.logos.Logos"
29   zap trash: [
30     "~/Library/Preferences/com.logos.Logos.plist",
31     "~/Library/Preferences/com.logos.LogosCEF.plist",
32     "~/Library/Preferences/com.logos.LogosIndexer.plist",
33   ]
34 end