forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautodesk-fusion360.rb
29 lines (26 loc) · 1.25 KB
/
autodesk-fusion360.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cask 'autodesk-fusion360' do
# note: "360" is not a version number, but an intrinsic part of the product name
version :latest
sha256 :no_check
url 'https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Client%20Downloader.dmg'
name 'Autodesk Fusion 360'
homepage 'https://www.autodesk.com/products/fusion-360'
installer script: 'Right-click > Open to Install.app/Contents/MacOS/Fusion 360 Client Downloader'
uninstall quit: [
'com.autodesk.fusion360',
'com.autodesk.dls.streamer.scriptapp.Autodesk-Fusion-360',
],
script: {
executable: "#{staged_path}/Right-click > Open to Install.app/Contents/MacOS/streamer",
args: [
'--process', 'uninstall',
'--appid', '73e72ada57b7480280f7a6f4a289729f',
'--stream', 'production',
'--quiet'
],
},
delete: [
'~/Applications/Autodesk Fusion 360.app',
'~/Applications/Remove Autodesk Fusion 360.app',
]
end