homebrew-cask/Casks/geogebra.rb

22 lines
802 B
Ruby
Raw Normal View History

2017-03-22 00:20:06 +08:00
cask 'geogebra' do
2017-04-23 18:39:47 +08:00
version '6.0.348.0'
sha256 'f63bf6f5f75f571b07832e9b88632259d8491adce8b61dcac8c53d0e4bb95a00'
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