homebrew-cask/Casks/runjs.rb

28 lines
731 B
Ruby

cask "runjs" do
version "2.1.3"
sha256 "2b3760cc978c3e4dc0cc0128b9d2381270dbb1c86dd197ee357a726567e52d7a"
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: ">= :yosemite"
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