2015-12-18 09:15:28 +08:00
|
|
|
cask 'nomachine' do
|
2017-04-13 18:10:16 +08:00
|
|
|
version '5.2.21_1'
|
|
|
|
sha256 '76106afead704af9cae68afb2eb1bd2f77ecb1616063b958fd88c84dbb9106b4'
|
2014-08-07 05:34:56 +08:00
|
|
|
|
2017-02-09 13:36:22 +08:00
|
|
|
url "http://download.nomachine.com/download/#{version.major_minor}/MacOSX/nomachine_#{version}.dmg"
|
2015-01-10 05:05:41 +08:00
|
|
|
name 'NoMachine'
|
2015-06-10 10:24:54 +08:00
|
|
|
homepage 'https://www.nomachine.com/'
|
2014-08-07 05:34:56 +08:00
|
|
|
|
2014-09-10 23:37:04 +08:00
|
|
|
pkg 'NoMachine.pkg'
|
2016-01-04 03:19:04 +08:00
|
|
|
|
2014-08-08 23:37:09 +08:00
|
|
|
# a launchctl job ordinarily manages uninstall once the app bundle is removed
|
2014-11-22 22:12:43 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall delete: '/Applications/NoMachine.app'
|
2016-01-04 03:19:04 +08:00
|
|
|
|
2014-09-13 22:23:02 +08:00
|
|
|
# however, we duplicate the uninstall process manually in the zap stanza just in case
|
2016-01-18 09:27:20 +08:00
|
|
|
zap early_script: {
|
|
|
|
executable: '/bin/rm',
|
|
|
|
args: ['-f', '--', '/Library/Application Support/NoMachine/nxuninstall.sh'],
|
|
|
|
},
|
|
|
|
quit: 'com.nomachine.nxdock',
|
|
|
|
kext: [
|
|
|
|
'com.nomachine.driver.nxau',
|
|
|
|
'com.nomachine.driver.nxtun',
|
|
|
|
'com.nomachine.kext.nxfs',
|
|
|
|
],
|
|
|
|
pkgutil: 'com.nomachine.nomachine.NoMachine.*',
|
|
|
|
launchctl: 'com.nomachine.uninstall'
|
2014-08-07 05:34:56 +08:00
|
|
|
end
|