Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / s / script-debugger.rb
blob58b33c73c57060573a40f7e46c78c289ae77285f
1 cask "script-debugger" do
2   version "8.0.10-8A88"
3   sha256 "4146e6ef549f3af64c50055f911fc0b3a0ab9dc9f12d181d4cf553b1243c4b53"
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