whoops i overwrite the css file everytime :/
This commit is contained in:
parent
a3819be006
commit
9f2dc9d423
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue