37 lines
1.5 KiB
Ruby
37 lines
1.5 KiB
Ruby
cask "devonthink" do
|
|
version "3.8"
|
|
sha256 "a1f76e4fabfafe1ad684ecdf595030ade44569bed18dafe1d434033b233fce4d"
|
|
|
|
url "https://download.devontechnologies.com/download/devonthink/#{version}/DEVONthink_#{version.major}.app.zip"
|
|
name "DEVONthink"
|
|
desc "Collect, organize, edit and annotate documents"
|
|
homepage "https://www.devontechnologies.com/apps/devonthink/"
|
|
|
|
livecheck do
|
|
url "https://api.devontechnologies.com/1/apps/sparkle/sparkle.php?id=300900000"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :el_capitan"
|
|
|
|
app "DEVONthink #{version.major}.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.devon-technologies.*",
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.devon-technologies.think*.sfl2",
|
|
"~/Library/Application Support/DEVONthink*",
|
|
"~/Library/Caches/com.apple.helpd/Generated/com.devontechnologies.devonthink.help*",
|
|
"~/Library/Caches/com.devon-technologies.think*",
|
|
"~/Library/Containers/com.devon-technologies.*",
|
|
"~/Library/Cookies/com.devon-technologies.think*.binarycookies",
|
|
"~/Library/Group Containers/679S2QUWR8.think*",
|
|
"~/Library/Metadata/com.devon-technologies.think*",
|
|
"~/Library/Preferences/com.devon-technologies.think*",
|
|
"~/Library/Saved Application State/com.devon-technologies.think*.savedState",
|
|
"~/Library/Scripts/Applications/DEVONagent",
|
|
"~/Library/Scripts/Folder Action Scripts/DEVONthink*",
|
|
"~/Library/WebKit/com.devon-technologies.think*",
|
|
]
|
|
end
|