excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / logos.rb
blob74675b3b7475ab7cc8d9ddebc932891505fb063a
1 cask "logos" do
2   arch arm: "-arm"
4   version "37.2.0.0012"
5   sha256 arm:   "846020241f5c1133d656a16d2bb13ec76bda8207ea2a91904b38a844cdeef05e",
6          intel: "0f3b06743fb5d587abc33ee31c5872f90bde098ad6714de2ec2d0c57ce4b9816"
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: ">= :monterey"
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