Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / h / hopper-disassembler.rb
blob00ce5f310b603ef81ce6f8928a6b9e40657c0d72
1 cask "hopper-disassembler" do
2   version "5.17.3"
3   sha256 "1df2eb4599eaadcbb71a6f9373cff3595ec515ede5797a1f4e37178907af21e7"
5   url "https://www.hopperapp.com/downloader/hopperv4/Hopper-#{version}-demo.dmg",
6       user_agent: :fake
7   name "Hopper Disassembler"
8   desc "Reverse engineering tool that lets you disassemble, decompile and debug your app"
9   homepage "https://www.hopperapp.com/"
11   livecheck do
12     url "https://www.hopperapp.com/rss/changelog.xml"
13     regex(/Version\s+v?(\d+(?:\.\d+)+)/i)
14   end
16   depends_on macos: ">= :high_sierra"
18   app "Hopper Disassembler v4.app"
20   zap trash: [
21     "~/Library/Application Support/Hopper Disassembler v4",
22     "~/Library/Application Support/Hopper",
23     "~/Library/Caches/com.cryptic-apps.hopper-web-4",
24     "~/Library/Preferences/com.cryptic-apps.hopper-web-4.plist",
25     "~/Library/Saved Application State/com.cryptic-apps.hopper-web-4.savedState",
26   ]
27 end