I’ve developed a Photoshop plugin that’s solely for internal use at my company. Everything works fine if I package the plugin with the UXP Developer Tool.
I’d like to be able to automate the creation of the ccx file to tie it into my company’s automated software distribution system. Basically, right now, when I save a specific file in Visual Studio Code several Powershell commands run that do things like update version numbers and then call a small C# program that handles packaging and uploading to the distribution site.
My understanding is that the ccx files are just standard zip files with the extension changed, however I’m having trouble getting this to work.
I’ve zipped the contents of my plugin folder with both the Windows built in zip capability and with 7zip. In both cases the resulting zip has the same file/folder structure as the ccx file from the developer tool, but when I rename the zip to ccx and double click it, Creative Cloud gives me a “Couldn’t install plugin, please try again. Error Code -4” error.
I’m assuming that there is something I’m doing wrong during the zip process, but I’m not familiar enough with the underlying format of zip files to tell if there is some setting or option that I need that I’m not supplying.
The 7zip command I’m using to zip is just: 7z.exe a -tzip “{destination}” “{toZip}” where destination is the directory and filename for the resulting ccx and toZip is the wildcard contents of my plugin’s source folder.
Any tips on fixing this or suggestions for another way to package the plugin via Powershell commands or in C#?
Thanks!