excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / vmware-fusion@preview.rb
blob65fce5859cc339889afef18d3c582348d29c1ebf
1 cask "vmware-fusion@preview" do
2   version "22068932"
3   sha256 "0be8da472b15477168fb97ad27902b09313c03ca45330e438ae8cf91609d3234"
5   on_intel do
6     binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vkd/bin/vctl"
7     binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmrest"
8     binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/VMware OVF Tool/ovftool"
9   end
10   on_catalina do
11     caveats do
12       kext
13     end
14   end
16   url "https://download3.vmware.com/software/FUS-TP2023/VMware-Fusion-e.x.p-#{version}_universal.dmg"
17   name "VMware Fusion Tech Preview"
18   desc "Create, manage, and run virtual machines"
19   homepage "https://blogs.vmware.com/teamfusion/tech-preview"
21   disable! date: "2024-05-20", because: :no_longer_available
23   auto_updates true
24   conflicts_with cask: "vmware-fusion"
25   depends_on macos: ">= :big_sur"
27   app "VMware Fusion Tech Preview.app"
28   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-bridge"
29   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-cfgcli"
30   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-cli"
31   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-dhcpd"
32   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-natd"
33   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-netifup"
34   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-sniffer"
35   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmrun"
36   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmss2core"
37   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-aewp"
38   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-authd"
39   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-cloneBootCamp"
40   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-id"
41   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-ntfs"
42   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-rawdiskAuthTool"
43   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-rawdiskCreator"
44   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-remotemks"
45   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-usbarbitrator"
46   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vdiskmanager"
47   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vmdkserver"
48   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vmx"
49   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vmx-debug"
50   binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vmx-stats"
52   postflight do
53     system_command "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/Initialize VMware Fusion.tool",
54                    args: ["set"],
55                    sudo: true
56   end
58   uninstall_preflight do
59     set_ownership "#{appdir}/VMware Fusion Tech Preview.app"
60   end
62   uninstall delete: [
63     "/etc/paths.d/com.vmware.fusion.public",
64     "/Library/Application Support/VMware",
65     "/Library/Logs/VMware Fusion Services.log",
66     "/Library/Logs/VMware USB Arbitrator Service.log",
67     "/Library/Logs/VMware",
68     "/Library/Preferences/VMware Fusion",
69   ]
71   zap trash: [
72     "~/.nautilus",
73     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.vmware.fusion.sfl*",
74     "~/Library/Application Support/VMware Fusion Applications Menu",
75     "~/Library/Application Support/VMware Fusion",
76     "~/Library/Caches/com.vmware.fusion",
77     "~/Library/Logs/VMware Fusion Applications Menu",
78     "~/Library/Logs/VMware Fusion",
79     "~/Library/Logs/VMware Graphics Service.log",
80     "~/Library/Logs/VMware",
81     "~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist",
82     "~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist.lockfile",
83     "~/Library/Preferences/com.vmware.fusion.plist",
84     "~/Library/Preferences/com.vmware.fusion.plist.lockfile",
85     "~/Library/Preferences/com.vmware.fusionApplicationsMenu.helper.plist",
86     "~/Library/Preferences/com.vmware.fusionApplicationsMenu.plist",
87     "~/Library/Preferences/com.vmware.fusionDaemon.plist",
88     "~/Library/Preferences/com.vmware.fusionDaemon.plist.lockfile",
89     "~/Library/Preferences/com.vmware.fusionStartMenu.plist",
90     "~/Library/Preferences/com.vmware.fusionStartMenu.plist.lockfile",
91     "~/Library/Preferences/VMware Fusion",
92     "~/Library/Saved Application State/com.vmware.fusion.savedState",
93     "~/Library/WebKit/com.vmware.fusion",
94   ]
95 end