Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / 0 / 010-editor.rb
blobbf51656049babcf5718da85939c53acc0b845cff
1 cask "010-editor" do
2   version "15.0.1"
3   sha256 "8690e1717d714b836bcb61ce22b170a982b8e493a6cbaea53eae9d26bf699108"
5   url "https://download.sweetscape.com/010EditorMac64Installer#{version}.dmg"
6   name "010 Editor"
7   desc "Text editor"
8   homepage "https://www.sweetscape.com/"
10   livecheck do
11     url "https://www.sweetscape.com/download/010editor/"
12     regex(/Version:?\s*(\d+(?:\.\d+)+),\s*macOS/i)
13   end
15   app "010 Editor.app"
17   zap trash: [
18         "~/.config/SweetScape",
19         "~/Library/Application Support/SweetScape",
20         "~/Library/Saved Application State/com.SweetScape.010Editor.savedState",
21       ],
22       rmdir: "~/Documents/SweetScape"
24   caveats do
25     requires_rosetta
26   end
27 end