excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / sublime-merge@dev.rb
blob6a6798bc478369db4470dd65817e6747d664f7fe
1 cask "sublime-merge@dev" do
2   version "2101"
3   sha256 "f9df3c9dfee63a7ba58c25f53b4aef2ae397b47ca30a9c4b63a28ae5c85040fb"
5   url "https://download.sublimetext.com/sublime_merge_build_#{version}_mac.zip",
6       verified: "download.sublimetext.com/"
7   name "Sublime Merge"
8   desc "Git client"
9   homepage "https://www.sublimemerge.com/dev"
11   livecheck do
12     url "https://www.sublimemerge.com/updates/dev_update_check"
13     strategy :json do |json|
14       json["latest_version"]&.to_s
15     end
16   end
18   auto_updates true
19   conflicts_with cask: "sublime-merge"
21   app "Sublime Merge.app"
22   binary "#{appdir}/Sublime Merge.app/Contents/SharedSupport/bin/smerge"
24   uninstall quit: "com.sublimemerge"
26   zap trash: [
27     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.sublimemerge.sfl*",
28     "~/Library/Application Support/Sublime Merge",
29     "~/Library/Caches/com.sublimemerge/",
30     "~/Library/Preferences/com.sublimemerge.plist",
31     "~/Library/Saved Application State/com.sublimemerge.savedState",
32   ]
33 end