Browse Source

Add localized Adobe CC applications.

master
Markus Reiter 9 years ago
parent
commit
fa8b354151
  1. 31
      Casks/adobe-illustrator-cc-de.rb
  2. 31
      Casks/adobe-illustrator-cc-es.rb
  3. 31
      Casks/adobe-illustrator-cc-fr.rb
  4. 31
      Casks/adobe-illustrator-cc-it.rb
  5. 31
      Casks/adobe-illustrator-cc-ja.rb
  6. 31
      Casks/adobe-illustrator-cc-nl.rb
  7. 31
      Casks/adobe-indesign-cc-de.rb
  8. 31
      Casks/adobe-indesign-cc-es.rb
  9. 31
      Casks/adobe-indesign-cc-fr.rb
  10. 31
      Casks/adobe-indesign-cc-it.rb
  11. 31
      Casks/adobe-indesign-cc-ja.rb
  12. 31
      Casks/adobe-indesign-cc-nl.rb
  13. 40
      Casks/adobe-photoshop-cc-de.rb
  14. 40
      Casks/adobe-photoshop-cc-es.rb
  15. 40
      Casks/adobe-photoshop-cc-fr.rb
  16. 40
      Casks/adobe-photoshop-cc-it.rb
  17. 40
      Casks/adobe-photoshop-cc-ja.rb
  18. 40
      Casks/adobe-photoshop-cc-nl.rb

31
Casks/adobe-illustrator-cc-de.rb

@ -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

31
Casks/adobe-illustrator-cc-es.rb

@ -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

31
Casks/adobe-illustrator-cc-fr.rb

@ -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

31
Casks/adobe-illustrator-cc-it.rb

@ -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

31
Casks/adobe-illustrator-cc-ja.rb

@ -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

31
Casks/adobe-illustrator-cc-nl.rb

@ -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

31
Casks/adobe-indesign-cc-de.rb

@ -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

31
Casks/adobe-indesign-cc-es.rb

@ -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

31
Casks/adobe-indesign-cc-fr.rb

@ -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

31
Casks/adobe-indesign-cc-it.rb

@ -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

31
Casks/adobe-indesign-cc-ja.rb

@ -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

31
Casks/adobe-indesign-cc-nl.rb

@ -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

40
Casks/adobe-photoshop-cc-de.rb

@ -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

40
Casks/adobe-photoshop-cc-es.rb

@ -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

40
Casks/adobe-photoshop-cc-fr.rb

@ -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

40
Casks/adobe-photoshop-cc-it.rb

@ -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

40
Casks/adobe-photoshop-cc-ja.rb

@ -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

40
Casks/adobe-photoshop-cc-nl.rb

@ -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…
Cancel
Save