Delete invalid keys from manifest.json for Chromium-based browsers

This commit is contained in:
Tamius Han 2020-03-15 20:19:24 +01:00
parent 9df8bdf3b9
commit e447b39beb

View File

@ -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);