Files
homebrew-cask/Casks/s/scratch.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

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