fix build
This commit is contained in:
parent
470f5481ee
commit
db5d69d92f
@ -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",
|
||||
|
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user