Skip to content

Commit

Permalink
script: fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
sylingd committed Dec 20, 2019
1 parent 555e52d commit f74b7ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/extension-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const root = path.resolve(__dirname, '..', '..');
const root = path.resolve(__dirname, '..');
const pack = path.resolve(root, 'dist-pack');
const dist = path.resolve(pack, 'copy-dist');
const encrypt = path.resolve(root, 'encrypt');
Expand Down
2 changes: 1 addition & 1 deletion build/pack-utils/amo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs');
const merge = require('merge');
const common = require('./common');
const common = require('../extension-config');
const signAddon = require('sign-addon').default;
const exec = require('child_process').exec;

Expand Down
2 changes: 1 addition & 1 deletion build/pack-utils/crx.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const crypto = require('crypto');
const RSA = require("node-rsa");
const fs = require('fs');
const common = require('./common');
const common = require('../extension-config');
const merge = require('merge');
const exec = require('child_process').exec;
const privKey = common.encrypt('crx.pem');
Expand Down
2 changes: 1 addition & 1 deletion build/pack-utils/pack-check.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const fs = require('fs');
const common = require('./common');
const common = require('../extension-config');
const dist = common.resolve(common.root, 'dist');

function rmdir(path, include_self) {
Expand Down
2 changes: 1 addition & 1 deletion build/pack-utils/xpi.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs');
const merge = require('merge');
const common = require('./common');
const common = require('../extension-config');
const signAddon = require('sign-addon').default;
const exec = require('child_process').exec;

Expand Down

0 comments on commit f74b7ee

Please sign in to comment.