homebrew-cask/Casks/t/texturepacker.rb

25 lines
760 B
Ruby

cask "texturepacker" do
version "7.0.3"
sha256 "a107048113cdee6a9e9eb7765c5a71e3d1d7f5907e3dd123859982ffd795afa5"
url "https://www.codeandweb.com/download/texturepacker/#{version}/TexturePacker-#{version}.dmg"
name "TexturePacker"
desc "Game sprite sheet packer"
homepage "https://www.codeandweb.com/texturepacker"
livecheck do
url "https://www.codeandweb.com/releases/TexturePacker/appcast-mac-release.xml"
strategy :sparkle
end
app "TexturePacker.app"
uninstall delete: "/usr/local/bin/TexturePacker"
zap trash: [
"~/Library/Caches/code-and-web.de/TexturePacker",
"~/Library/Preferences/de.code-and-web.TexturePacker.plist",
"~/Library/Saved Application State/de.code-and-web.TexturePacker.savedState",
]
end