build(desktop): improve desktop build process, update assets
This commit is contained in:
parent
ff931ecb31
commit
27dc7c595e
75 changed files with 130 additions and 128 deletions
|
|
@ -65,6 +65,10 @@ Object.keys(templates).forEach(function(k) {
|
|||
if(k === 'config-template.xml'){
|
||||
k = 'config.xml';
|
||||
}
|
||||
|
||||
if (!fs.existsSync('../' + targetDir)){
|
||||
fs.mkdirSync('../' + targetDir);
|
||||
}
|
||||
fs.writeFileSync('../' + targetDir + k, content, 'utf8');
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue