homebrew-cask/Casks/playmemories-home.rb

25 lines
1.0 KiB
Ruby

cask 'playmemories-home' do
version '3.6.01,zb2OnHfINu'
sha256 '99de6ea54029d14b7c7b94d7a4d5096470a65a26a3aff53164213272b0d33896'
# pmb.update.sony.net/PMH/ was verified as official when first introduced to the cask
url "http://pmb.update.sony.net/PMH/#{version.after_comma}/PMHOME_#{version.before_comma.no_dots}DL.dmg"
appcast 'https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://support.d-imaging.sony.co.jp/disoft_DL/PMHMAC_DL/mac?fm=ttl&fm=ja',
configuration: version.before_comma.no_dots
name 'PlayMemories Home'
homepage 'https://support.d-imaging.sony.co.jp/www/disoft/int/download/playmemories-home/mac/en/'
pkg 'PMH_INST.pkg'
uninstall pkgutil: 'com.sony.pkg.PMHInstaller',
launchctl: [
'com.sony.SonyAutoLauncher.agent',
'com.sony.WirelessAutoImportLauncher.agent',
]
zap trash: [
'/Applications/PMHMac.app',
'/Applications/Wireless Auto Import.app',
]
end