Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / s / sourcenote.rb
blob5797d9c7647e26bff5adc63c23e5de5710391d7e
1 cask "sourcenote" do
2   version "1.3.2"
3   sha256 "842bc3b739fbc361d19378b40a4115a4c4e4661bd95f61776063b6f9707c211e"
5   url "https://www.sourcenoteapp.com/releases/SourceNote_#{version}.dmg"
6   name "SourceNote"
7   desc "Text snippet app"
8   homepage "https://www.sourcenoteapp.com/"
10   livecheck do
11     url "https://www.sourcenoteapp.com/releases/appcast.xml"
12     strategy :sparkle
13   end
15   depends_on macos: ">= :catalina"
17   app "SourceNote.app"
19   zap trash: [
20     "~/Library/Application Scripts/*.SourceNote",
21     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.devinabbott.sourcenote*",
22     "~/Library/Application Support/SourceNote",
23     "~/Library/Caches/com.devinabbott.SourceNote",
24     "~/Library/Group Containers/*.SourceNote",
25     "~/Library/HTTPStorages/com.devinabbott.SourceNote*",
26     "~/Library/Preferences/com.devinabbott.SourceNote.plist",
27   ]
28 end