excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / script-debugger.rb
blobfae7d3c3e6c90868e214e5d28374477d3ad1be4e
1 cask "script-debugger" do
2   version "8.0.8-8A80"
3   sha256 "1e76cd711c2ba5f96b8ea2bdf515fe907dabe1839f8d01a42ef75a31338b6555"
5   url "https://s3.amazonaws.com/latenightsw.com/ScriptDebugger#{version}.dmg",
6       verified: "s3.amazonaws.com/latenightsw.com/"
7   name "Script Debugger"
8   desc "Integrated development environment focused entirely on AppleScript"
9   homepage "https://latenightsw.com/"
11   livecheck do
12     url "https://latenightsw.com/download/"
13     regex(/action=.*?ScriptDebugger(\d+(?:\.\d+)+-\d+A\d+)\.dmg/i)
14   end
16   depends_on macos: ">= :mojave"
18   app "Script Debugger.app"
20   zap trash: [
21     "~/Library/Application Support/Script Debugger #{version.major}",
22     "~/Library/Caches/com.latenightsw.ScriptDebugger#{version.major}",
23     "~/Library/Preferences/com.latenightsw.ScriptDebugger#{version.major}.plist",
24   ]
25 end