excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / legcord.rb
blobb421f01ff381bcdeb9fc56b6dcffe9605164ab41
1 cask "legcord" do
2   version "1.0.5"
3   sha256 "4697e148e8e83169ea827b15c9ed5e23c849e559d56d34d88163fe77b38a91d7"
5   url "https://github.com/legcord/legcord/releases/download/v#{version}/legcord-#{version}-mac-universal.dmg",
6       verified: "github.com/legcord/legcord/"
7   name "Legcord"
8   desc "Custom Discord client"
9   homepage "https://legcord.app/"
11   livecheck do
12     url "https://legcord.app/latest.json"
13     strategy :json do |json|
14       json["version"]
15     end
16   end
18   depends_on macos: ">= :big_sur"
20   app "legcord.app"
22   zap trash: [
23     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/app.legcord.legcord.sfl*",
24     "~/Library/Application Support/legcord",
25     "~/Library/Preferences/app.legcord.Legcord.plist",
26     "~/Library/Saved Application State/app.legcord.Legcord.savedState",
27   ]
28 end