Delete invalid keys from manifest.json for Chromium-based browsers
This commit is contained in:
parent
9df8bdf3b9
commit
e447b39beb
@ -128,6 +128,8 @@ const config = {
|
|||||||
|
|
||||||
if (process.env.BROWSER !== 'firefox') {
|
if (process.env.BROWSER !== 'firefox') {
|
||||||
jsonContent.version = jsonContent.version.replace(/[a-zA-Z-]/g, '');
|
jsonContent.version = jsonContent.version.replace(/[a-zA-Z-]/g, '');
|
||||||
|
delete jsonContent.applications;
|
||||||
|
delete jsonContent.options_ui.browser_style;
|
||||||
}
|
}
|
||||||
|
|
||||||
return JSON.stringify(jsonContent, null, 2);
|
return JSON.stringify(jsonContent, null, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user