Markus Reiter
9 years ago
18 changed files with 612 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-illustrator-cc-de' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Illustrator CC 2015' |
|||
homepage 'https://www.adobe.com/products/illustrator.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>de_DE<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-illustrator-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-illustrator-cc-es' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Illustrator CC 2015' |
|||
homepage 'https://www.adobe.com/products/illustrator.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>es_ES<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-illustrator-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-illustrator-cc-fr' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Illustrator CC 2015' |
|||
homepage 'https://www.adobe.com/products/illustrator.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>fr_FR<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-illustrator-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-illustrator-cc-it' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Illustrator CC 2015' |
|||
homepage 'https://www.adobe.com/products/illustrator.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>it_IT<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-illustrator-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-illustrator-cc-ja' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Illustrator CC 2015' |
|||
homepage 'https://www.adobe.com/products/illustrator.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>ja_JP<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-illustrator-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-illustrator-cc-nl' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Illustrator CC 2015' |
|||
homepage 'https://www.adobe.com/products/illustrator.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>nl_NL<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-illustrator-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-indesign-cc-de' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe InDesign CC 2015' |
|||
homepage 'https://www.adobe.com/products/indesign.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>de_DE<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-indesign-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-indesign-cc-es' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe InDesign CC 2015' |
|||
homepage 'https://www.adobe.com/products/indesign.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>es_ES<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-indesign-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-indesign-cc-fr' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe InDesign CC 2015' |
|||
homepage 'https://www.adobe.com/products/indesign.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>fr_FR<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-indesign-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-indesign-cc-it' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe InDesign CC 2015' |
|||
homepage 'https://www.adobe.com/products/indesign.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>it_IT<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-indesign-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-indesign-cc-ja' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe InDesign CC 2015' |
|||
homepage 'https://www.adobe.com/products/indesign.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>ja_JP<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-indesign-cc' |
|||
end |
@ -0,0 +1,31 @@ |
|||
cask :v1 => 'adobe-indesign-cc-nl' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe InDesign CC 2015' |
|||
homepage 'https://www.adobe.com/products/indesign.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml" |
|||
|
|||
File.open(deployment_xml) do |xml_before| |
|||
contents = xml_before.read.gsub!('>en_US<', '>nl_NL<') |
|||
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) } |
|||
end |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}" |
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-indesign-cc' |
|||
end |
@ -0,0 +1,40 @@ |
|||
cask :v1 => 'adobe-photoshop-cc-de' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Photoshop CC 2015' |
|||
homepage 'https://www.adobe.com/products/photoshop.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
file = File.open "#{staged_path}/uninstall.xml", 'w' |
|||
file.puts '<?xml version="1.0" encoding="utf-8"?> |
|||
<Deployment> |
|||
<Properties> |
|||
<Property name="removeUserPrefs">0</Property> |
|||
<Property name="mediaSignature">{2614BC86-757D-4293-9E25-E4E16F370A9E}</Property> |
|||
</Properties> |
|||
<Payloads> |
|||
<Payload adobeCode="{2614BC86-757D-4293-9E25-E4E16F370A9E}"> |
|||
<Action>remove</Action> |
|||
</Payload> |
|||
</Payloads> |
|||
</Deployment>' |
|||
file.close |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/de_DE_Deployment.xml" |
|||
|
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-photoshop-cc' |
|||
end |
@ -0,0 +1,40 @@ |
|||
cask :v1 => 'adobe-photoshop-cc-es' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Photoshop CC 2015' |
|||
homepage 'https://www.adobe.com/products/photoshop.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
file = File.open "#{staged_path}/uninstall.xml", 'w' |
|||
file.puts '<?xml version="1.0" encoding="utf-8"?> |
|||
<Deployment> |
|||
<Properties> |
|||
<Property name="removeUserPrefs">0</Property> |
|||
<Property name="mediaSignature">{2614BC86-757D-4293-9E25-E4E16F370A9E}</Property> |
|||
</Properties> |
|||
<Payloads> |
|||
<Payload adobeCode="{2614BC86-757D-4293-9E25-E4E16F370A9E}"> |
|||
<Action>remove</Action> |
|||
</Payload> |
|||
</Payloads> |
|||
</Deployment>' |
|||
file.close |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/es_ES_Deployment.xml" |
|||
|
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-photoshop-cc' |
|||
end |
@ -0,0 +1,40 @@ |
|||
cask :v1 => 'adobe-photoshop-cc-fr' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Photoshop CC 2015' |
|||
homepage 'https://www.adobe.com/products/photoshop.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
file = File.open "#{staged_path}/uninstall.xml", 'w' |
|||
file.puts '<?xml version="1.0" encoding="utf-8"?> |
|||
<Deployment> |
|||
<Properties> |
|||
<Property name="removeUserPrefs">0</Property> |
|||
<Property name="mediaSignature">{2614BC86-757D-4293-9E25-E4E16F370A9E}</Property> |
|||
</Properties> |
|||
<Payloads> |
|||
<Payload adobeCode="{2614BC86-757D-4293-9E25-E4E16F370A9E}"> |
|||
<Action>remove</Action> |
|||
</Payload> |
|||
</Payloads> |
|||
</Deployment>' |
|||
file.close |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/fr_FR_Deployment.xml" |
|||
|
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-photoshop-cc' |
|||
end |
@ -0,0 +1,40 @@ |
|||
cask :v1 => 'adobe-photoshop-cc-it' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Photoshop CC 2015' |
|||
homepage 'https://www.adobe.com/products/photoshop.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
file = File.open "#{staged_path}/uninstall.xml", 'w' |
|||
file.puts '<?xml version="1.0" encoding="utf-8"?> |
|||
<Deployment> |
|||
<Properties> |
|||
<Property name="removeUserPrefs">0</Property> |
|||
<Property name="mediaSignature">{2614BC86-757D-4293-9E25-E4E16F370A9E}</Property> |
|||
</Properties> |
|||
<Payloads> |
|||
<Payload adobeCode="{2614BC86-757D-4293-9E25-E4E16F370A9E}"> |
|||
<Action>remove</Action> |
|||
</Payload> |
|||
</Payloads> |
|||
</Deployment>' |
|||
file.close |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/it_IT_Deployment.xml" |
|||
|
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-photoshop-cc' |
|||
end |
@ -0,0 +1,40 @@ |
|||
cask :v1 => 'adobe-photoshop-cc-ja' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Photoshop CC 2015' |
|||
homepage 'https://www.adobe.com/products/photoshop.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
file = File.open "#{staged_path}/uninstall.xml", 'w' |
|||
file.puts '<?xml version="1.0" encoding="utf-8"?> |
|||
<Deployment> |
|||
<Properties> |
|||
<Property name="removeUserPrefs">0</Property> |
|||
<Property name="mediaSignature">{2614BC86-757D-4293-9E25-E4E16F370A9E}</Property> |
|||
</Properties> |
|||
<Payloads> |
|||
<Payload adobeCode="{2614BC86-757D-4293-9E25-E4E16F370A9E}"> |
|||
<Action>remove</Action> |
|||
</Payload> |
|||
</Payloads> |
|||
</Deployment>' |
|||
file.close |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/ja_JP_Deployment.xml" |
|||
|
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-photoshop-cc' |
|||
end |
@ -0,0 +1,40 @@ |
|||
cask :v1 => 'adobe-photoshop-cc-nl' do |
|||
version :latest |
|||
sha256 :no_check |
|||
|
|||
url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', |
|||
:user_agent => :fake, |
|||
:cookies => { 'MM_TRIALS' => '1234' } |
|||
name 'Adobe Photoshop CC 2015' |
|||
homepage 'https://www.adobe.com/products/photoshop.html' |
|||
license :commercial |
|||
tags :vendor => 'Adobe' |
|||
|
|||
preflight do |
|||
file = File.open "#{staged_path}/uninstall.xml", 'w' |
|||
file.puts '<?xml version="1.0" encoding="utf-8"?> |
|||
<Deployment> |
|||
<Properties> |
|||
<Property name="removeUserPrefs">0</Property> |
|||
<Property name="mediaSignature">{2614BC86-757D-4293-9E25-E4E16F370A9E}</Property> |
|||
</Properties> |
|||
<Payloads> |
|||
<Payload adobeCode="{2614BC86-757D-4293-9E25-E4E16F370A9E}"> |
|||
<Action>remove</Action> |
|||
</Payload> |
|||
</Payloads> |
|||
</Deployment>' |
|||
file.close |
|||
|
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/nl_NL_Deployment.xml" |
|||
|
|||
end |
|||
|
|||
uninstall_preflight do |
|||
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/uninstall.xml" |
|||
end |
|||
|
|||
uninstall :rmdir => '/Applications/Utilities/Adobe Installers' |
|||
|
|||
conflicts_with :cask => 'adobe-photoshop-cc' |
|||
end |
Loading…
Reference in new issue