24 lines
990 B
Ruby
24 lines
990 B
Ruby
cask 'bonitastudiocommunity' do
|
|
version '7.7.0'
|
|
sha256 'f06550bc218c0b1410c2aa00a546093474aa149badee996eec9160e61f2a5558'
|
|
|
|
# download.forge.ow2.org was verified as official when first introduced to the cask
|
|
url "https://download.forge.ow2.org/bonita/BonitaStudioCommunity-#{version}-x86_64.dmg"
|
|
appcast 'https://documentation.bonitasoft.com/release-notes'
|
|
name 'Bonita Studio Community Edition'
|
|
homepage 'https://www.bonitasoft.com/downloads'
|
|
|
|
installer script: {
|
|
executable: "#{staged_path}/BonitaStudioCommunity-#{version}-osx.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
|