homebrew-cask/Casks/a/aegisub.rb

25 lines
632 B
Ruby

cask "aegisub" do
version "3.2.2"
sha256 "d71fa46f074a2d5a252f30779e0b8d913d5157258f5d9fc333411f8c9493f42b"
url "https://github.com/Aegisub/Aegisub/releases/download/v#{version}/Aegisub-#{version}.dmg"
name "Aegisub"
desc "Create and modify subtitles"
homepage "https://github.com/Aegisub/Aegisub"
livecheck do
url :url
strategy :github_latest
end
app "Aegisub.app"
uninstall quit: "com.aegisub.aegisub"
zap trash: [
"~/Library/Application Support/Aegisub",
"~/Library/Preferences/com.aegisub.aegisub.plist",
"~/Library/Saved Application State/com.aegisub.aegisub.savedState",
]
end