homebrew-cask/Casks/bonitastudiocommunity.rb

24 lines
958 B
Ruby

cask 'bonitastudiocommunity' do
version '7.9.1'
sha256 'b7cb4bc62bc7823dd60033f7518d787a2c3804f47c7030202107daa9542b07fe'
# release.ow2.org was verified as official when first introduced to the cask
url "https://release.ow2.org/bonita/BonitaStudioCommunity-#{version}-x86_64.dmg"
appcast 'https://www.bonitasoft.com/downloads'
name 'Bonita Studio Community Edition'
homepage 'https://www.bonitasoft.com/downloads'
installer script: {
executable: "#{staged_path}/BonitaStudioCommunity-#{version}.app/Contents/MacOS/installbuilder.sh",
args: ['--mode', 'unattended'],
}
uninstall quit: 'org.bonitasoft.studio.product',
delete: "/Applications/BonitaStudioCommunity-#{version}.app"
zap trash: [
'~/Library/Preferences/org.bonitasoft.studio.product.plist',
'/Library/Caches/org.bonitasoft.studio.product',
]
end