-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
fx-console.rb
31 lines (24 loc) · 1.04 KB
/
fx-console.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
30
31
cask 'fx-console' do
version '1.0.2,2018'
sha256 'c2cccfb619b57611498116512e3a8a07d86cfb135756f6424d30f55babf4dbc3'
# vcproducts.s3.amazonaws.com was verified as official when first introduced to the cask
url "https://vcproducts.s3.amazonaws.com/free/fxconsole/FXConsoleInstaller_#{version.before_comma}_Mac_#{version.after_comma}.zip"
name 'FX Console'
homepage 'https://videocopilot.net/blog/?s=fx+console'
container nested: "FXConsoleInstaller_#{version.before_comma}_Mac.dmg"
folder = Dir['/Applications/Adobe Creative Cloud/Adobe After Effects *'].max
plugin = 'FXConsole.plugin'
artifact "FXConsoleInstaller.app/Contents/Resources/#{plugin}",
target: "#{folder}/Plug-ins/VideoCopilot/#{plugin}"
rmdir = [
'~/Documents/VideoCopilot',
'/Library/Application Support/VideoCopilot',
"#{folder}/Plug-ins/VideoCopilot",
]
uninstall rmdir: rmdir
zap trash: [
rmdir[0] + '/FXConsole',
rmdir[1] + '/effects_*',
],
rmdir: rmdir
end