homebrew-cask/Casks/anylogic.rb

28 lines
842 B
Ruby

cask 'anylogic' do
version '8.4.0'
sha256 '50616027c4db93264fc360e1b9a65174a4a6d005dbc70ef7ac660e816784372d'
url "https://www.anylogic.com/files/anylogic-ple-#{version}.dmg"
appcast 'https://www.anylogic.com/files/changes-history.txt'
name 'AnyLogic'
homepage 'https://www.anylogic.com/'
pkg 'Install AnyLogic.pkg'
uninstall pkgutil: 'com.anylogic.AnyLogic'
zap trash: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.anylogic.anylogic.sfl*',
'~/Library/Caches/com.anylogic.AnyLogic',
]
caveats do
depends_on_java '8'
<<~EOS
For activation instructions, check up on
http://www.anylogic.com/upload/activation-guides/AnyLogic_#{version.slice(%r{\w+})}_PLE_License.pdf
EOS
end
end