Skip to content

Commit

Permalink
Merge pull request #52 from chadsaun/master
Browse files Browse the repository at this point in the history
Add support for all CC 2023 apps
  • Loading branch information
fcamarlinghi authored Oct 30, 2022
2 parents 18e182a + 78f00e4 commit 1ae8aef
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 1 deletion.
21 changes: 21 additions & 0 deletions res/bundle/manifest.bundle.cc2023.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="11.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 = 'CC2022';
family = 'CC2023';
}

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 @@ -194,6 +194,7 @@ module.exports = function (grunt)
'CC2020': '2020',
'CC2021': '2021',
'CC2022': '2022',
'CC2023': '2023',
};

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 @@ -291,6 +292,7 @@ module.exports = function (grunt)
'CC2020': path.join(process.env['HOME'], '/Library/Preferences/com.adobe.CSXS.9.plist'),
'CC2021': path.join(process.env['HOME'], '/Library/Preferences/com.adobe.CSXS.10.plist'),
'CC2022': path.join(process.env['HOME'], '/Library/Preferences/com.adobe.CSXS.11.plist'),
'CC2023': path.join(process.env['HOME'], '/Library/Preferences/com.adobe.CSXS.11.plist'),
};

if (!PLIST.hasOwnProperty(family))
Expand All @@ -317,6 +319,7 @@ module.exports = function (grunt)
'CC2020': 'HKEY_CURRENT_USER\\Software\\Adobe\\CSXS.9\\',
'CC2021': 'HKEY_CURRENT_USER\\Software\\Adobe\\CSXS.10\\',
'CC2022': 'HKEY_CURRENT_USER\\Software\\Adobe\\CSXS.11\\',
'CC2023': 'HKEY_CURRENT_USER\\Software\\Adobe\\CSXS.11\\',
};

if (!PLIST.hasOwnProperty(family))
Expand Down
74 changes: 74 additions & 0 deletions tasks/lib/hosts.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,78 @@
{
"CC2023": {
"photoshop": {
"familyname": "Photoshop",
"name": "Photoshop",
"ids": [ "PHXS", "PHSP" ],
"version": { "min": "24.0", "max": "24.9" },
"bin": { "win": "Photoshop.exe", "mac": "Adobe Photoshop 2023.app" },
"x64": true
},
"illustrator": {
"familyname": "Illustrator",
"name": "Illustrator",
"ids": [ "ILST" ],
"version": { "min": "27.0", "max": "27.9" },
"bin": { "win": "Support Files/Contents/Windows/Illustrator.exe", "mac": "Adobe Illustrator.app" },
"x64": true
},
"indesign": {
"familyname": "InDesign",
"name": "InDesign",
"ids": [ "IDSN" ],
"version": { "min": "18.0", "max": "18.9" },
"bin": { "win": "InDesign.exe", "mac": "Adobe InDesign 2023.app" },
"x64": true
},
"flash": {
"familyname": "Flash",
"name": "Animate",
"ids": [ "FLPR" ],
"version": { "min": "23.0", "max": "23.9" },
"bin": { "win": "Animate.exe", "mac": "Adobe Animate 2023.app" },
"x64": true
},
"aftereffects": {
"familyname": "AfterEffects",
"name": "After Effects",
"ids": [ "AEFT" ],
"version": { "min": "19.0", "max": "19.9" },
"bin": { "win": "Support Files/AfterFX.exe", "mac": "Adobe After Effects 2023.app" },
"x64": true
},
"premiere": {
"familyname": "Premiere",
"name": "Premiere Pro",
"ids": [ "PPRO" ],
"version": { "min": "16.0", "max": "16.9" },
"bin": { "win": "Adobe Premiere Pro.exe", "mac": "Adobe Premiere Pro 2023.app" },
"x64": true
},
"prelude": {
"familyname": "Prelude",
"name": "Prelude",
"ids": [ "PRLD" ],
"version": { "min": "11.0", "max": "11.9" },
"bin": { "win": "Prelude.exe", "mac": "Adobe Prelude 2023.app" },
"x64": false
},
"dreamweaver": {
"familyname": "Dreamweaver",
"name": "Dreamweaver",
"ids": [ "DRWV" ],
"version": { "min": "23.0", "max": "23.9" },
"bin": { "win": "Dreamweaver.exe", "mac": "Adobe Dreamweaver 2023.app" },
"x64": false
},
"incopy": {
"familyname": "InCopy",
"name": "InCopy",
"ids": [ "AICY" ],
"version": { "min": "18.0", "max": "18.9" },
"bin": { "win": "InCopy.exe", "mac": "Adobe InCopy 2023.app" },
"x64": true
}
},
"CC2022": {
"photoshop": {
"familyname": "Photoshop",
Expand Down

0 comments on commit 1ae8aef

Please sign in to comment.