forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adobe-bridge-cc.rb
30 lines (26 loc) · 1.05 KB
/
adobe-bridge-cc.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
cask 'adobe-bridge-cc' do
version '2015'
sha256 'd8f27894419077792b3a01c63150c7bfe43599cf3ebeb240770046c56bc79c94'
url 'http:https://trials3.adobe.com/AdobeProducts/KBRG/6/osx10/Bridge_6_LS20.dmg',
user_agent: :fake,
cookies: { 'MM_TRIALS' => '1234' }
name 'Adobe Bridge CC'
homepage 'https://www.adobe.com/products/bridge.html'
preflight do
system_command "#{staged_path}/Install.app/Contents/MacOS/Install",
args: [
'--mode=silent',
"--deploymentFile=#{staged_path}/deployment/AdobeBridge6-mul.install.xml",
],
sudo: true
end
uninstall_preflight do
system_command "#{staged_path}/Install.app/Contents/MacOS/Install",
args: [
'--mode=silent',
"--deploymentFile=#{staged_path}/deployment/AdobeBridge6-mul.remove.xml",
],
sudo: true
end
uninstall rmdir: '/Applications/Utilities/Adobe Installers'
end