Packaging signing Adobe CEP Panel in details
In more details
Last updated
In more details
Last updated
if you only want to build the app without packaging as zxp
or signing then use this command.
Packages all the parts needed for the extension to work in the ./adobe-panel-build
This directory is added to .gitignore
to avoid merge conflicts.
This SDK provides the low-level tools that you need to build extensions. Extensions that you build using these tools must be packaged as ZXP files in order to be seen and loaded by Extension Manager. You can offer extensions as free or paid products through our marketing portals (Adobe Exchange, the Add-ins website, the Creative Cloud desktop app). When you do this, you upload the extension to Adobe as a single ZXP file.
Resources you will need include:
CEP JavaScript libraries for communicating with the operating system and Extension Manager and for communicating with the host application and other extensions.
Sample code for how to use these libraries
The ZXP packager, a command-line utility
From Adobe docs
download the binary for ZXPSignCmd
from the Adobe CEP Resources github repo see bewlo for direct. Downlaod as dmg and then move the binary where most suited in the project.
You need to use the ZXPSignCmd
to generate your self signed certificate. See below for how
So: fire the Terminal (or the Win Command line), get to the directory where you’ve moved the ZXPSignCmd file (if you don’t know how to do this, just type “cd ” – mind you there’s a space – in the terminal and drag and drop the folder, then hit Enter) and create a certificate using this pattern:
from
dummy example for clarity
This command generate a certificate file selfDB.p12
on your system, this certificate can be used in the next step to package the app.
Packaging and signing the extension happens in one step
Let’s assume the extension you’ve made has the ID
com.example.helloworld
and it’s contained within a directory named accordingly.Gather together the Extension with the ZXPSignCmd and the selfDB.p12 in one folder, then build the ZXP using this pattern
from
eg in our case eg com.autoedit2.it
as indicated in the adobe CEP manifest xml file
code example with dummy
If everything’s OK you should find a newly created
com.example.helloworld.zxp
file. That’s your self signed, timestamped installer; submit it to the Add Ons website and/or privately and enjoy.
from
CEP Guide Part 7: Packaging and Distribution, with bash script example to automate step.
There is also an npm tool create-zxp, but have not tried it.
If using the npm tool it also signs the extension so can skip next step about signing and go straight to upload to marketplace
From Adobe-CEP/Samples: 6. Package and deploy your panel