excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / w / workspace-one-intelligent-hub.rb
blob849f29a0a61a6ec7d9cca2a6207c2c00709155b8
1 cask "workspace-one-intelligent-hub" do
2   version "24.07.1"
3   sha256 :no_check
5   url "https://packages.vmware.com/wsone/VMwareWorkspaceONEIntelligentHub.pkg",
6       verified: "packages.vmware.com/wsone/"
7   name "Workspace ONE Intelligent Hub"
8   desc "VMware workspace"
9   homepage "https://www.getwsone.com/"
11   livecheck do
12     url "https://docs-be.omnissa.com/api/bundle/workspace-one-intelligent-hub-for-macos-release-notesVSaaS/page/WorkspaceONEIntelligenHubmacOS-ReleaseNotes.html"
13     regex(/Intelligent\s+Hub\s+v?(\d+(?:\.\d+)+)/i)
14   end
16   auto_updates true
17   depends_on macos: ">= :catalina"
19   pkg "VMwareWorkspaceONEIntelligentHub.pkg"
21   uninstall launchctl: [
22               "com.airwatch.awcmd",
23               "com.airwatch.mac.agent",
24               "com.vmware.hub.flagd",
25               "com.vmware.hub.healthd",
26               "com.vmware.hub.hubupdatedaemon",
27               "com.vmware.hubupdateagent",
28               "com.vmware.uem.hubd",
29               "com.vmware.uem.hublogd",
30             ],
31             pkgutil:   [
32               "com.air-watch.pkg.OSXAgent",
33               "com.airwatch.munki.admin",
34               "com.airwatch.munki.core",
35               "com.airwatch.munki.python",
36             ]
38   zap trash: [
39     "~/Library/Application Support/AirWatchs",
40     "~/Library/Caches/com.vmware.hub.mac",
41     "~/Library/Preferences/com.vmware.hub.mac.plist",
42     "~/Library/Saved Application State/com.vmware.hub.mac.savedState",
43   ]
44 end