From e8a79191195da9e564468590e9b2fce5c181fabf Mon Sep 17 00:00:00 2001 From: commitay Date: Thu, 20 Jul 2017 04:04:17 +1000 Subject: [PATCH] Update idisplay - pkg / uninstall (#36768) --- Casks/idisplay.rb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Casks/idisplay.rb b/Casks/idisplay.rb index 33f18604292..f821f0e8be8 100644 --- a/Casks/idisplay.rb +++ b/Casks/idisplay.rb @@ -7,5 +7,18 @@ cask 'idisplay' do name 'iDisplay' homepage 'https://getidisplay.com/' - app 'iDisplay.app' + pkg 'iDisplay.pkg' + + uninstall launchctl: 'ag.shape.MSMToolHelper', + pkgutil: [ + 'ag.shape.iDisplay.pkg', + 'ag.shape.MSM*.pkg', + ], + signal: ['TERM', 'com.shapeservices.idisplay-host-full'] + + zap trash: '~/Library/Preferences/com.shapeservices.idisplay-host-full.plist' + + caveats do + reboot + end end