excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / vienna.rb
blob8c48f7632ae5b1888ab7c48260c9a2ba50e9ab04
1 cask "vienna" do
2   version "3.9.4"
3   sha256 "a239497a5b37a1bf0144938980f1e943be19c826fff4892dc54700f909faa927"
5   url "https://downloads.sourceforge.net/vienna-rss/v_#{version}/Vienna#{version}.tgz",
6       verified: "downloads.sourceforge.net/vienna-rss/"
7   name "Vienna"
8   desc "RSS and Atom reader"
9   homepage "https://www.vienna-rss.com/"
11   livecheck do
12     url "https://www.vienna-rss.com/sparkle-files/changelog.xml"
13     regex(/Vienna[._-]?v?(\d+(?:\.\d+)+)\.t/i)
14     strategy :sparkle do |items, regex|
15       items.map { |item| item.url[regex, 1] }
16     end
17   end
19   auto_updates true
20   depends_on macos: ">= :high_sierra"
22   app "Vienna.app"
24   zap trash: [
25     "~/Library/Application Scripts/uk.co.opencommunity.vienna2",
26     "~/Library/Application Support/Vienna",
27     "~/Library/Caches/uk.co.opencommunity.vienna2",
28     "~/Library/Cookies/uk.co.opencommunity.vienna2.binarycookies",
29     "~/Library/HTTPStorages/uk.co.opencommunity.vienna2.binarycookies",
30     "~/Library/Preferences/uk.co.opencommunity.vienna2.plist",
31     "~/Library/Saved Application State/uk.co.opencommunity.vienna2.savedState",
32     "~/Library/Scripts/Vienna",
33   ]
34 end