Move script.js to beginning of zip file to make it easier to inspect with e.g. zless.

This commit is contained in:
ccd0 2016-04-16 09:11:46 -07:00
parent ab2c778c91
commit 31fd581c1d

View File

@ -6,7 +6,7 @@ var v = JSON.parse(fs.readFileSync('version.json', 'utf8'));
var channel = process.argv[2] || '';
var zip = new JSZip();
for (var file of ['eventPage.js', 'icon128.png', 'icon16.png', 'icon48.png', 'manifest.json', 'script.js']) {
for (var file of ['script.js', 'eventPage.js', 'icon16.png', 'icon48.png', 'icon128.png', 'manifest.json']) {
zip.file(
file,
fs.readFileSync(`testbuilds/crx${channel}/${file}`),