excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / r / receipts.rb
blob15d377985c56d5ec209ee852b4e0d0137457b919
1 cask "receipts" do
2   version "1.16-762"
3   sha256 "76349f6602c457ed490b43187df36b118822deb76130abb1f2a440612485445d"
5   url "https://receipts-app.com/update/download/Receipts-#{version}.zip"
6   name "Receipts"
7   desc "Document management"
8   homepage "https://receipts-app.com/"
10   livecheck do
11     url "https://receipts-app.com/updater.php"
12     regex(/href=.*?Receipts[._-]v?(\d+(?:[.-]\d+)+)\.zip/i)
13   end
15   depends_on macos: ">= :high_sierra"
17   app "Receipts.app"
19   zap trash: [
20     "~/Documents/Receipts.receipts",
21     "~/Library/Application Scripts/com.apperdeck.mac.Receipts.ReceiptsShareExtension",
22     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.apperdeck.mac.receipts.sfl*",
23     "~/Library/Caches/com.apperdeck.mac.Receipts",
24     "~/Library/Containers/com.apperdeck.mac.Receipts.ReceiptsShareExtension",
25     "~/Library/HTTPStorages/com.apperdeck.mac.Receipts",
26     "~/Library/Logs/Receipts",
27     "~/Library/PDF Services/Save PDF to Receipts",
28     "~/Library/Preferences/com.apperdeck.mac.Receipts.plist",
29     "~/Library/Saved Application State/com.apperdeck.mac.Receipts.savedState",
30     "~/Library/WebKit/com.apperdeck.mac.Receipts",
31   ]
32 end