[bdTheme] Better manifest override

This commit is contained in:
Ducko 2021-02-09 21:14:11 +00:00
parent 1fa515b245
commit 3dee22c632

View file

@ -7,9 +7,7 @@ export default (themePath, repo) => {
let manifest = {
main: 'index.js',
tags: ['theme', 'port'],
...repo[4]
tags: ['theme', 'port']
};
let match;
@ -42,6 +40,8 @@ export default (themePath, repo) => {
}
}
manifest = Object.assign(manifest, repo[4]);
rmSync(themePath);
mkdirSync(themePath);