homebrew-cask/Casks/microsoft-outlook.rb

29 lines
1.1 KiB
Ruby

cask "microsoft-outlook" do
version "16.39.20071300"
sha256 "764d3c2532cffb76029ca96928f67db849fe32ade963df06c5a485807c3e408b"
# officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/ was verified as official when first introduced to the cask
url "https://officecdn-microsoft-com.akamaized.net/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_Outlook_#{version}_Installer.pkg"
appcast "https://docs.microsoft.com/en-us/officeupdates/update-history-office-for-mac"
name "Microsoft Outlook"
homepage "https://products.office.com/en-us/outlook/email-and-calendar-software-microsoft-outlook"
auto_updates true
conflicts_with cask: "microsoft-office"
depends_on cask: "microsoft-auto-update"
depends_on macos: ">= :sierra"
pkg "Microsoft_Outlook_#{version}_Installer.pkg"
uninstall pkgutil: [
"com.microsoft.package.Microsoft_Outlook.app",
"com.microsoft.pkg.licensing",
],
launchctl: "com.microsoft.office.licensingV2.helper"
zap trash: [
"~/Library/Application Scripts/com.microsoft.Outlook",
"~/Library/Containers/com.microsoft.Outlook",
]
end