How to modify .cma files?
Summary: laurenzhiller inquired about modifying an existing .cma file, mentioning a challenge with recalculating the checksum located in the package.json after editing the file. Additionally, there is confusion regarding the necessity of the 1.1.27 folder, which appears to duplicate the archive's content. brunoheremans expressed having similar questions about the topic.
Hi everyone,
I’d like to change an existing cma file. I know that you can simply rename the .cma file to .zip or edit it directly with an archiving tool like 7zip. However, the archive contains a checksum in the package.json file that is no longer valid after the archive has been changed. Does anyone know an easy way to modify an existing cma file and recalculate the checksum?
Also, it’s not entirely clear to me why the 1.1.27 folder is needed. This folder only seems to duplicate the archives content (asset types, etc.).
Bruno Heremans
·1 year ago · EditedWe are wondering the same things.