homebrew-cask/Casks/real-vnc.rb

20 lines
559 B
Ruby
Raw Normal View History

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
container :type => :naked
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
uninstall :script => '/Applications/RealVNC/Advanced.localized/Uninstall VNC Viewer.app/Contents/Resources/uninstaller.sh'
2015-02-13 23:21:43 +08:00
end