Fix flash-player-debugger uninstall (#75374)

This commit is contained in:
Daniel Bayley 2020-01-11 18:14:25 +00:00 committed by Vítor Galvão
parent f84a9ed0a0
commit b928123dd8
1 changed files with 10 additions and 0 deletions

View File

@ -11,8 +11,18 @@ cask 'flash-player-debugger' do
# Renamed to avoid conflict with flash-player.
app 'Flash Player.app', target: 'Flash Player Debugger.app'
uninstall pkgutil: 'com.adobe.pkg.PepperFlashPlayer',
launchctl: 'com.adobe.fpsaud',
delete: [
'/Library/Application Support/Adobe/Flash Player Install Manager',
'/Library/Internet Plug-Ins/PepperFlashPlayer',
]
zap trash: [
'/Library/Internet Plug-Ins/flashplayer.xpt',
'~/Library/Caches/Adobe/Flash Player',
'~/Library/Logs/FlashPlayerInstallManager.log',
'~/Library/Preferences/Macromedia/Flash Player',
'~/Library/Saved Application State/com.adobe.flashplayer.installmanager.savedState',
]
end