excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / y / yojimbo.rb
blob7b380a8aca89a279706020cd0e5dad8288234b47
1 cask "yojimbo" do
2   version "4.6.3"
3   sha256 "1496c28e14c86ef501d9e66caf1620abd2f80acb15ca78eb42a9cc03f1aba50f"
5   url "https://s3.amazonaws.com/BBSW-download/Yojimbo_#{version}.dmg",
6       verified: "s3.amazonaws.com/BBSW-download/"
7   name "Yojimbo"
8   desc "Your effortless, reliable information organiser"
9   homepage "https://www.barebones.com/products/yojimbo/"
11   livecheck do
12     url "https://versioncheck.barebones.com/Yojimbo.xml"
13     strategy :xml do |xml|
14       xml.get_elements("//key[text()='SUFeedEntryShortVersionString']").map { |item| item.next_element&.text&.strip }
15     end
16   end
18   app "Yojimbo.app"
20   zap trash: [
21     "~/Library/Caches/com.apple.helpd/Generated/Yojimbo Help*#{version}",
22     "~/Library/Caches/com.barebones.yojimbo4",
23     "~/Library/HTTPStorages/com.barebones.yojimbo4",
24     "~/Library/Logs/Yojimbo",
25     "~/Library/Preferences/com.barebones.yojimbo4.plist",
26     "~/Library/Saved Application State/com.barebones.yojimbo4.savedState",
27     "~/Yojimbo",
28   ]
29 end