mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
The migration of `orka.rb` and then `o*.rb` has worked well without complaint so: let's move everything else, too.
24 lines
639 B
Ruby
24 lines
639 B
Ruby
cask "scratch" do
|
|
version "3.29.1"
|
|
sha256 "0032867c2eb6885e1e1f3e24fe24f37fc5a12c3e995825f8eea5630eb8052860"
|
|
|
|
url "https://downloads.scratch.mit.edu/desktop/Scratch%20#{version}.dmg"
|
|
name "Scratch"
|
|
desc "Programs interactive stories, games, and animations"
|
|
homepage "https://scratch.mit.edu/download"
|
|
|
|
livecheck do
|
|
url "https://downloads.scratch.mit.edu/desktop/Scratch.dmg"
|
|
strategy :header_match
|
|
end
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Scratch #{version.major}.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/Scratch",
|
|
"~/Library/Preferences/edu.mit.scratch.scratch-desktop.plist",
|
|
]
|
|
end
|