build(desktop): improve desktop build process, update assets

This commit is contained in:
Jason Dreyzehner 2016-10-19 02:29:42 -04:00
commit 27dc7c595e
75 changed files with 130 additions and 128 deletions

View file

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