fix build

This commit is contained in:
Tamius Han 2019-11-29 00:31:20 +01:00
parent 470f5481ee
commit db5d69d92f
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,6 @@
"build:dev": "cross-env NODE_ENV=development BROWSER=firefox webpack --hide-modules",
"build-nightly": "cross-env NODE_ENV=development BROWSER=firefox CHANNEL=nightly webpack --hide-modules",
"build-nightly-chrome": "cross-env NODE_ENV=development BROWSER=chrome CHANNEL=nightly webpack --hide-modules",
"build-nightly-all": "./setup-env.sh; rm /dist-zip/* || true; npm run build-nightly; node scripts/build-zip.js ff; npm run build-nightly-chrome; node scripts/build-zip.js chrome; web-ext sign",
"build-chrome:dev": "cross-env NODE_ENV=development BROWSER=chrome webpack --hide-modules",
"build-edge:dev": "cross-env NODE_ENV=development BROWSER=edge webpack --hide-modules",
"build-all": "rm ./dist-zip/uw-amo-source.zip; mv ./dist-zip/*.zip ./dist-zip/old/; npm run build; node scripts/build-zip.js ff; npm run build-chrome; node scripts/build-zip.js chrome; ./scripts/prepare-amo-source.sh",

View File

@ -97,6 +97,9 @@ const config = {
.replace('-', '.') // YYMM-DD -> YYMM.DD
}.${process.env.BUILD_NUMBER}`;
jsonContent.browser_action.default_title = "Ultrawidify Nightly";
// otherwise things will get fun!
delete jsonContent.applications;
}
if (process.env.BROWSER !== 'firefox') {