excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / amazon-workdocs-drive.rb
blob190d52d36a9d99d981a86ee154715f5bee58fcc1
1 cask "amazon-workdocs-drive" do
2   arch arm: "mac_v2", intel: "mac"
4   on_arm do
5     version "1.0.11931.0"
6     sha256 :no_check
7   end
8   on_intel do
9     version "1.0.10729.0"
10     sha256 :no_check
11   end
13   url "https://d3f2hupz96ggz3.cloudfront.net/#{arch}/AmazonWorkDocsDrive.pkg",
14       verified: "d3f2hupz96ggz3.cloudfront.net/"
15   name "Amazon WorkDocs Drive"
16   desc "Fully managed, secure enterprise storage and sharing service"
17   homepage "https://aws.amazon.com/workdocs/"
19   disable! date: "2025-04-25", because: :discontinued
21   depends_on macos: ">= :el_capitan"
23   pkg "AmazonWorkDocsDrive.pkg"
25   uninstall launchctl: [
26               "aws.workdrive.Drive.Launcher",
27               "aws.workdrive.Drive.Updater",
28               "com.Amazon.WorkDocs.DriveUpdater",
29             ],
30             quit:      "aws.workdrive.Drive",
31             signal:    ["TERM", "com.Amazon.WorkDocs.Drive"],
32             pkgutil:   [
33               "aws.workdrive.Drive",
34               "com.Amazon.WorkDocs.Drive",
35               "com.Amazon.WorkDocs.Drive.pkg.core",
36             ]
38   zap trash: [
39     "~/Library/Application Scripts/com.Amazon.WorkDocs.DriveFinderExtension",
40     "~/Library/Containers/com.Amazon.WorkDocs.DriveFinderExtension",
41     "~/Library/LaunchAgents/com.amazon.workdocs.workdocsclient.plist",
42     "~/Library/Preferences/com.amazon.workdocs.workdocsclient.plist",
43   ]
44 end