tree: 14f9ef095ae0009ec10e9533c1a58e8ecf593225 [path history] [tgz]
  1. app1.zip
  2. app1_to_app2.zucchini
  3. app2.zip
  4. README.md
components/test/data/update_client/zucchini_patch_test/README.md

This directory contains test files for zucchini patching.

The zip files can be regenerated using the following commands:

rm app1.zip; rm app2.zip; mkdir tmp; cd tmp;
cp ../../puffin_patch_test/puffin_app_v1.crx3 tmp.crx3; unzip tmp.crx3;
rm tmp.crx3; zip -r -0 app1 *; mv app1.zip ..; ls; rm -rf *;
cp ../../puffin_patch_test/puffin_app_v2.crx3 tmp.crx3; unzip tmp.crx3;
rm tmp.crx3; zip -r -0 app2 *; mv app2.zip ..; cd ..; rm -rf tmp;

The zucchini files can then be regenerated by building zucchini and running:

out/Default/zucchini -gen \
  components/test/data/update_client/zucchini_patch_test/app1.zip \
  components/test/data/update_client/zucchini_patch_test/app2.zip \
  components/test/data/update_client/zucchini_patch_test/app1_to_app2.zucchini