homebrew-cask/Casks/runjs.rb

28 lines
733 B
Ruby

cask "runjs" do
version "2.8.0"
sha256 "88b66dde753cd18407af43f3e51967b2510adae104258291e0d4044f795ac4ce"
url "https://github.com/lukehaas/RunJS/releases/download/v#{version}/RunJS-#{version}-universal.dmg",
verified: "github.com/lukehaas/RunJS/"
name "RunJS"
desc "JavaScript playground that auto-evaluates as code is typed"
homepage "https://runjs.app/"
livecheck do
url :url
strategy :github_latest
end
auto_updates true
depends_on macos: ">= :el_capitan"
app "RunJS.app"
zap trash: [
"~/Library/Application Support/runjs",
"~/Library/Logs/RunJS",
"~/Library/Preferences/me.lukehaas.runjs.plist",
"~/Library/Saved Application State/me.lukehaas.runjs.savedState",
]
end