Example #1
0
    crx.pack(archiveBuffer).then(crxBuffer => {
      const updateXML = crx.generateUpdateXML();

      fs.writeFile('update.xml', updateXML);
      fs.writeFile(`${name}.crx`, crxBuffer);
    });
Example #2
0
    crx.pack(archiveBuffer).then(crxBuffer => {
      const updateXML = crx.generateUpdateXML()

      fs.writeFile('update.xml', updateXML)
      fs.writeFile(name + '.crx', crxBuffer)
    })