2015-12-18 09:15:28 +08:00
|
|
|
cask 'real-vnc' do
|
2015-12-31 20:45:52 +08:00
|
|
|
version '5.3.0'
|
|
|
|
sha256 '940d1871e587e9135f957ab879ac5fc479721e47b4d8122152e5d2e92c30e231'
|
2015-02-13 23:21:43 +08:00
|
|
|
|
2015-12-31 20:45:52 +08:00
|
|
|
url 'https://www.realvnc.com/download/binary/1775/'
|
2015-02-13 23:21:43 +08:00
|
|
|
name 'Real VNC'
|
|
|
|
homepage 'https://www.realvnc.com'
|
|
|
|
license :freemium
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
container type: :naked
|
2015-12-31 23:17:28 +08:00
|
|
|
|
|
|
|
pkg "VNC-#{version}-MacOSX.pkg"
|
|
|
|
|
2015-02-13 23:21:43 +08:00
|
|
|
preflight do
|
2015-12-31 20:45:52 +08:00
|
|
|
system '/bin/mv', '--', staged_path.join('1775'), staged_path.join("VNC-#{version}-MacOSX.pkg")
|
2015-02-13 23:21:43 +08:00
|
|
|
end
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall script: '/Applications/RealVNC/Advanced.localized/Uninstall VNC Viewer.app/Contents/Resources/uninstaller.sh'
|
2015-02-13 23:21:43 +08:00
|
|
|
end
|