22 lines
789 B
Ruby
22 lines
789 B
Ruby
cask 'geogebra' do
|
|
version '6.0.518.0'
|
|
sha256 '7348040504bf8b9fd73673119d907593cf5256cb44a088a1eed6d14e41c3348b'
|
|
|
|
url "https://download.geogebra.org/installers/#{version.major_minor}/GeoGebra-Classic-6-MacOS-Portable-#{version.dots_to_hyphens}.zip"
|
|
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
|