zxp-provider
A simple, lightweight provider for ZXPSignCmd - the tool used to sign Adobe extensions
Installation
npm install zxp-provider
Usage
zxp-provider has a simple interface for calling ZXPSignCmd. Most users will want to call zxp-provider with no arguments. This will return the latest version of ZXPSignCmd, for your current running operating system.
const zxpProvider = ;const zxp = ; // returns the lastest version for the current operation system
If you would like to manually choose the version of ZXPSignCmd, an interface is provided for that. Please see CEP-Resources if you're unsure what versions are available. If you would like, zxp-provider also contains an Array of supported versions.
const chosenVersion = zxpProvidersupportedVersions0; // select the oldest version of ZXPSignCmdconst zxp = ;
If you would like to manually select the os, you can do that as well. zxp-provider exposes an object containing all of the supported versions.
const win64 = zxpProvidersupportedPlatformswin64; // manually select windows 64 bitconst zxp =