Add `choices` to `microsoft-outlook`. (#87447)

This commit is contained in:
Markus Reiter 2020-08-12 02:23:47 +02:00 committed by GitHub
parent f2951c765f
commit b8465d63c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -13,7 +13,14 @@ cask "microsoft-outlook" do
depends_on cask: "microsoft-auto-update"
depends_on macos: ">= :sierra"
pkg "Microsoft_Outlook_#{version}_Installer.pkg"
pkg "Microsoft_Outlook_#{version}_Installer.pkg",
choices: [
{
"choiceIdentifier" => "com.microsoft.autoupdate", # Office16_all_autoupdate.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
]
uninstall pkgutil: [
"com.microsoft.package.Microsoft_Outlook.app",