homebrew-cask/Casks/geogebra.rb

24 lines
927 B
Ruby

cask 'geogebra' do
version '6.0.546.0'
sha256 'f57d1d3d8263adfa04391cf84a94588d0c97ad413a5c1adc284ec05be1d0ab43'
url "https://download.geogebra.org/installers/#{version.major_minor}/GeoGebra-Classic-6-MacOS-Portable-#{version.dots_to_hyphens}.zip"
appcast "https://download.geogebra.org/installers/#{version.major_minor}/version.txt",
configuration: version.dots_to_hyphens
name 'GeoGebra'
homepage 'https://www.geogebra.org/'
app "GeoGebra Classic #{version.major}.app"
uninstall quit: 'org.geogebra.mathapps',
login_item: 'GeoGebra',
pkgutil: 'org.geogebra6.mac'
zap trash: [
'~/Library/GeoGebra',
'~/Library/Preferences/org.geogebra.mathapps.helper.plist',
'~/Library/Preferences/org.geogebra.mathapps.plist',
'~/Library/Saved Application State/org.geogebra.mathapps.savedState',
]
end