2017-03-22 00:20:06 +08:00
|
|
|
cask 'geogebra' do
|
2017-05-09 21:20:38 +08:00
|
|
|
version '6.0.355.0'
|
|
|
|
sha256 '1773b1bf2654a81d1f152f88d5f9cacb5c58fd821158fcbb441f71445f636c69'
|
2017-03-22 00:20:06 +08:00
|
|
|
|
2017-04-23 18:39:47 +08:00
|
|
|
url "https://download.geogebra.org/installers/#{version.major_minor}/GeoGebra-MacOS-Portable-#{version.dots_to_hyphens}.pkg"
|
2017-03-22 00:20:06 +08:00
|
|
|
name 'GeoGebra'
|
|
|
|
homepage 'https://www.geogebra.org/'
|
|
|
|
|
2017-04-23 18:39:47 +08:00
|
|
|
pkg "GeoGebra-MacOS-Portable-#{version.dots_to_hyphens}.pkg"
|
2017-03-22 00:20:06 +08:00
|
|
|
|
|
|
|
uninstall quit: 'org.geogebra.mathapps',
|
2017-04-23 18:39:47 +08:00
|
|
|
login_item: 'GeoGebra',
|
|
|
|
pkgutil: 'org.geogebra6.mac'
|
2017-03-22 00:20:06 +08:00
|
|
|
|
|
|
|
zap delete: [
|
|
|
|
'~/Library/GeoGebra',
|
|
|
|
'~/Library/Preferences/org.geogebra.mathapps.helper.plist',
|
|
|
|
'~/Library/Preferences/org.geogebra.mathapps.plist',
|
|
|
|
'~/Library/Saved Application State/org.geogebra.mathapps.savedState',
|
|
|
|
]
|
|
|
|
end
|