/
logos.rb
32 lines (25 loc) 路 961 Bytes
/
logos.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cask "logos" do
arch arm: "-arm"
version "33.2.0.0007"
sha256 arm: "6667f7f543f251cc86980b471c045e59e6ebff994f0cc6ddda5bf2a54d402032",
intel: "1be16739fa74d18ebeab162e84610bcf8810f1a89dceae4f7fa95593c0056111"
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"
regex(%r{<logos:version[^>]*>(\d+(?:\.\d+)+)</logos:version>}i)
end
auto_updates true
depends_on macos: ">= :big_sur"
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