Merge pull request #200927 from Homebrew/bump-zed-0.172.10
[Homebrew/homebrew-cask.git] / Casks / w / windows-app.rb
blob8145931e9a733cbcd211fedce23aba81c379d0ca
1 cask "windows-app" do
2   version "11.0.9"
3   sha256 "232020d31db21c3476c46359f5b4fcba518eba2309e887787aaaec15274fd582"
5   url "https://officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Windows_App_#{version}_installer.pkg",
6       verified: "officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/"
7   name "Windows App"
8   desc "Connect to Windows"
9   homepage "https://aka.ms/WindowsApp"
11   livecheck do
12     url "https://go.microsoft.com/fwlink/?linkid=868963"
13     strategy :header_match
14   end
16   conflicts_with cask: "microsoft-remote-desktop"
17   depends_on macos: ">= :monterey"
19   pkg "Windows_App_#{version}_installer.pkg"
21   uninstall launchctl: [
22               "com.microsoft.autoupdate.helper",
23               "com.microsoft.update.agent",
24             ],
25             quit:      [
26               "com.microsoft.autoupdate.fba",
27               "com.microsoft.autoupdate2",
28               "com.microsoft.errorreporting",
29             ],
30             pkgutil:   [
31               "com.microsoft.package.Microsoft_AutoUpdate.app",
32               "com.microsoft.rdc.macos",
33             ]
35   zap trash: [
36     "~/Library/Application Scripts/com.microsoft.rdc.macos",
37     "~/Library/Containers/com.microsoft.rdc.macos",
38     "~/Library/Group Containers/UBF8T346G9.com.microsoft.rdc",
39   ]
40 end