whoops i overwrite the css file everytime :/

This commit is contained in:
Cynthia Foxwell 2017-12-13 14:00:37 -07:00
parent a3819be006
commit 9f2dc9d423

View file

@ -223,8 +223,12 @@ var dropfiles = function () {
}
lclient.send();
_fs.writeFileSync(data() + '/cynergy/legal.txt', license);
try{
_fs.readFileSync(data() + '/cynergy/styles/style.css');
}catch(e){
_fs.writeFileSync(data() + '/cynergy/styles/style.css', "/* custom css here */");
}
}
var crash = function () {
remote.app.relaunch();