excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / app-fair.rb
blobaa26b7cb6e7bcf5dbfb00025f886962dd4580c13
1 cask "app-fair" do
2   version "0.8.137"
3   sha256 "c4a99410058cef2a3c7ac6bb073cf4cac06fb64f7c597140cbf0958e37fe2480"
5   url "https://github.com/App-Fair/App/releases/download/#{version}/App-Fair-macOS.zip",
6       verified: "github.com/App-Fair/App/"
7   name "App Fair"
8   desc "Catalogue of free and commercial native desktop applications"
9   homepage "https://appfair.app/"
11   livecheck do
12     url :url
13     strategy :github_latest
14   end
16   depends_on macos: ">= :monterey"
18   app "App Fair.app"
19   binary "#{appdir}/App Fair.app/Contents/MacOS/App Fair", target: "app-fair"
21   zap trash: [
22         "~/Library/Application Scripts/app.App-Fair",
23         "~/Library/Application Support/app.App-Fair",
24         "~/Library/Caches/app.App-Fair",
25         "~/Library/Containers/app.App-Fair",
26         "~/Library/HTTPStorages/app.App-Fair",
27         "~/Library/HTTPStorages/app.App-Fair.binarycookies",
28         "~/Library/Preferences/app.App-Fair.plist",
29         "~/Library/Saved Application State/app.App-Fair.savedState",
30       ],
31       rmdir: "/Applications/App Fair"
32 end