Skip to content

Commit

Permalink
Support for CC2020
Browse files Browse the repository at this point in the history
  • Loading branch information
alebianco-doxee authored and fcamarlinghi committed Dec 18, 2019
1 parent 885b226 commit 99dec69
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
21 changes: 21 additions & 0 deletions res/bundle/manifest.bundle.cc2020.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<ExtensionManifest Version="7.0" ExtensionBundleId="<%= bundle.id %>" ExtensionBundleName="<%= bundle.name %>" ExtensionBundleVersion="<%= bundle.version %>" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Author><![CDATA[<%= bundle.author_name %>]]></Author>
<ExtensionList>
<%= extension_list %>
</ExtensionList>
<ExecutionEnvironment>
<HostList>
<%= hosts %>
</HostList>
<LocaleList>
<Locale Code="All" />
</LocaleList>
<RequiredRuntimeList>
<RequiredRuntime Name="CSXS" Version="9.0" />
</RequiredRuntimeList>
</ExecutionEnvironment>
<DispatchInfoList>
<%= extensions %>
</DispatchInfoList>
</ExtensionManifest>
2 changes: 1 addition & 1 deletion tasks/lib/cep.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = function (grunt)

if (!family)
{
family = 'CC2019';
family = 'CC2020';
}

if (!HOSTS.hasOwnProperty(family))
Expand Down
3 changes: 3 additions & 0 deletions tasks/lib/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ module.exports = function (grunt)
'CC2017': 'CC 2017',
'CC2018': 'CC 2018',
'CC2019': 'CC 2019',
'CC2020': '2020',
};

var folder_name = launch_config.host.hasOwnProperty('folder') ? launch_config.host.folder : '/Adobe ' + launch_config.host.name + ' ' + folder_family[launch_config.family];
Expand Down Expand Up @@ -285,6 +286,7 @@ module.exports = function (grunt)
'CC2017': path.join(process.env['HOME'], '/Library/Preferences/com.adobe.CSXS.7.plist'),
'CC2018': path.join(process.env['HOME'], '/Library/Preferences/com.adobe.CSXS.8.plist'),
'CC2019': path.join(process.env['HOME'], '/Library/Preferences/com.adobe.CSXS.9.plist'),
'CC2020': path.join(process.env['HOME'], '/Library/Preferences/com.adobe.CSXS.9.plist'),
};

if (!PLIST.hasOwnProperty(family))
Expand All @@ -308,6 +310,7 @@ module.exports = function (grunt)
'CC2017': 'HKEY_CURRENT_USER\\Software\\Adobe\\CSXS.7\\',
'CC2018': 'HKEY_CURRENT_USER\\Software\\Adobe\\CSXS.8\\',
'CC2019': 'HKEY_CURRENT_USER\\Software\\Adobe\\CSXS.9\\',
'CC2020': 'HKEY_CURRENT_USER\\Software\\Adobe\\CSXS.9\\',
};

if (!PLIST.hasOwnProperty(family))
Expand Down
13 changes: 13 additions & 0 deletions tasks/lib/hosts.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
{
"CC2020": {
"flash": {
"familyname": "Flash",
"name": "Animate",
"ids": [ "FLPR" ],
"version": { "min": "20.0", "max": "20.9" },
"bin": {
"win": "Animate.exe",
"mac": "Adobe Animate 2020.app"
},
"x64": true
}
},
"CC2019": {
"photoshop": {
"familyname": "Photoshop",
Expand Down

0 comments on commit 99dec69

Please sign in to comment.