Skip to content

Commit

Permalink
Fixed paths in tools/ffize.js [minor] (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris White committed Mar 16, 2019
1 parent f99e6a2 commit e024995
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/ffize.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ffize.js: Make a Firefox manifest from the built Chrome manifest
// cxw42, 2018.
// ffize.js: Make a Firefox manifest and tree from the built Chrome dir
// cxw42, 2018--2019.

var fs = require('fs-extra');

Expand All @@ -8,7 +8,7 @@ fs.removeSync('public-ff');
fs.copySync('public','public-ff');

// Read the Chrome manifest
var manifest = require('./public/manifest.json');
var manifest = require('../public/manifest.json');

// Munge
delete manifest['version_name'];
Expand All @@ -29,5 +29,5 @@ if(idx > -1) {
}

// Write it back out
fs.writeFileSync('./public-ff/manifest.json', JSON.stringify(manifest));
fs.writeFileSync('public-ff/manifest.json', JSON.stringify(manifest));
console.log('Wrote public-ff');

0 comments on commit e024995

Please sign in to comment.