Fix productbuild --package-path location

This commit is contained in:
hensm
2018-11-28 03:25:54 +00:00
parent 57f60abcd4
commit b6a3145cfa
3 changed files with 9 additions and 3 deletions

View File

@@ -18,6 +18,9 @@ if (argv.package) {
const { mirroringAppId = "19A6F4AE"
, mode = "development" } = argv;
// Clean
fs.removeSync(path.join(__dirname, "../dist/ext/"));
const child = spawn(
`webpack --env.extensionName=${extensionName} `
+ `--env.extensionId=${extensionId} `