Files
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

38 lines
1.3 KiB
Ruby

cask "atom" do
version "1.60.0"
sha256 "dc5271b496c995b8ef957f4a53c3224771002715d15917c776fddb7d4a03b2c5"
url "https://github.com/atom/atom/releases/download/v#{version}/atom-mac.zip",
verified: "github.com/atom/atom/"
name "Github Atom"
desc "Text editor"
homepage "https://atom.io/"
auto_updates true
app "Atom.app"
binary "#{appdir}/Atom.app/Contents/Resources/app/apm/bin/apm"
binary "#{appdir}/Atom.app/Contents/Resources/app/atom.sh", target: "atom"
zap trash: [
"~/.atom",
"~/Library/Application Support/Atom",
"~/Library/Application Support/ShipIt_stderr.log",
"~/Library/Application Support/ShipIt_stdout.log",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.atom.sfl*",
"~/Library/Application Support/com.github.atom.ShipIt",
"~/Library/Caches/com.github.atom",
"~/Library/Caches/com.github.atom.ShipIt",
"~/Library/Logs/Atom",
"~/Library/Preferences/ByHost/com.github.atom.ShipIt.*.plist",
"~/Library/Preferences/com.github.atom.helper.plist",
"~/Library/Preferences/com.github.atom.plist",
"~/Library/Saved Application State/com.github.atom.savedState",
"~/Library/WebKit/com.github.atom",
]
caveats do
discontinued
end
end