excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / autodesk-fusion.rb
blob6e827da00148ca787112d0337dcdefe26e7fc1e3
1 cask "autodesk-fusion" do
2   version :latest
3   sha256 :no_check
5   url "https://dl.appstreaming.autodesk.com/production/installers/Fusion%20Client%20Downloader.dmg"
6   name "Autodesk Fusion 360"
7   desc "Integrated CAD, CAM, CAE, and PCB software"
8   homepage "https://www.autodesk.com/products/fusion-360/overview"
10   installer script: {
11     executable: "#{staged_path}/Install Autodesk Fusion.app/Contents/MacOS/Fusion Client Downloader",
12     args:       ["--quiet"],
13   }
15   uninstall quit:   [
16               "com.autodesk.dls.streamer.scriptapp.Autodesk-Fusion",
17               "com.autodesk.fusion",
18             ],
19             script: {
20               executable: "#{staged_path}/Install Autodesk Fusion.app/Contents/MacOS/streamer",
21               args:       [
22                 "--process", "uninstall",
23                 "--quiet",
24                 "--silent",
25                 "--purge-incomplete"
26               ],
27             },
28             delete: [
29               "~/Applications/Autodesk Fusion Service Utility.app",
30               "~/Applications/Autodesk Fusion.app",
31               "~/Applications/Remove Autodesk Fusion.app",
32             ]
34   zap trash: [
35     "/Users/Shared/Autodesk",
36     "~/.config/Autodesk",
37     "~/Library/Application Support/Autodesk",
38     "~/Library/Application Support/Fusion 360",
39     "~/Library/Caches/com.autodesk.AdskIdentityManager",
40     "~/Library/Caches/com.autodesk.fusion360",
41     "~/Library/Caches/com.autodesk.fusion360.senddmp",
42     "~/Library/Caches/com.Autodesk.streamer",
43     "~/Library/HTTPStorages/com.autodesk.fusion360.binarycookies",
44     "~/Library/HTTPStorages/com.Autodesk.streamer",
45     "~/Library/Logs/autodesk.webdeploy.streamer.log",
46     "~/Library/Preferences/com.autodesk.adskidentitymanager.Autodesk Identity Manager.plist",
47     "~/Library/Preferences/com.autodesk.EAGLE 9.7.0.plist",
48     "~/Library/Preferences/com.autodesk.fusion360.plist",
49     "~/Library/Saved Application State/com.autodesk.fusion360.savedState",
50     "~/Library/Saved Application State/com.Autodesk.streamer.savedState",
51     "~/Library/WebKit/com.autodesk.AdskIdentityManager",
52   ]
53 end