Files
homebrew-cask/Casks/m/microsoft-remote-desktop.rb

41 lines
1.4 KiB
Ruby

cask "microsoft-remote-desktop" do
version "10.9.4"
sha256 "0b9daf56664686bfc3776eb96e44467b2c9fad8460fc1d043b469efbfb2392da"
url "https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_Remote_Desktop_#{version}_installer.pkg",
verified: "officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/"
name "Microsoft Remote Desktop"
desc "Remote desktop client"
homepage "https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-mac"
livecheck do
url "https://go.microsoft.com/fwlink/?linkid=868963"
strategy :header_match
end
auto_updates true
depends_on macos: ">= :high_sierra"
pkg "Microsoft_Remote_Desktop_#{version}_installer.pkg"
uninstall pkgutil: [
"com.microsoft.rdc.macos",
"com.microsoft.package.Microsoft_AutoUpdate.app",
],
launchctl: [
"com.microsoft.autoupdate.helper",
"com.microsoft.update.agent",
],
quit: [
"com.microsoft.autoupdate2",
"com.microsoft.autoupdate.fba",
"com.microsoft.errorreporting",
]
zap trash: [
"~/Library/Application Scripts/com.microsoft.rdc.macos",
"~/Library/Containers/com.microsoft.rdc.macos",
"~/Library/Group Containers/UBF8T346G9.com.microsoft.rdc",
]
end