Files
homebrew-cask/Casks/w/wing-personal.rb

27 lines
848 B
Ruby

cask "wing-personal" do
version "9.1.2.0"
sha256 "d46e7111669a5e07a32886e1a34acbebc5aff5775929ef5446abc73603b4c265"
url "https://wingware.com/pub/wing-personal/#{version}/wing-personal-#{version}.dmg"
name "Wing Personal"
desc "Free Python IDE designed for students and hobbyists"
homepage "https://www.wingware.com/"
livecheck do
url "https://wingware.com/downloads/wing-personal"
regex(%r{href=.*?/pub/wing-personal/v?(\d+(?:\.\d+)+)}i)
end
depends_on macos: ">= :catalina"
app "Wing Personal.app"
zap trash: [
"~/.wingpersonal#{version.major}",
"~/Library/Application Support/Wing Personal",
"~/Library/Caches/com.apple.python/Applications/Wing Personal.app",
"~/Library/Caches/com.wingware.wing-personal",
"~/Library/Saved Application State/com.wingware.wing-personal.savedState",
]
end