mirror of
https://github.com/EndPwnArchive/cynergy.git
synced 2024-08-14 22:46:57 +00:00
whoops i overwrite the css file everytime :/
This commit is contained in:
parent
a3819be006
commit
9f2dc9d423
1 changed files with 5 additions and 1 deletions
|
@ -223,7 +223,11 @@ var dropfiles = function () {
|
||||||
}
|
}
|
||||||
lclient.send();
|
lclient.send();
|
||||||
_fs.writeFileSync(data() + '/cynergy/legal.txt', license);
|
_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 */");
|
_fs.writeFileSync(data() + '/cynergy/styles/style.css', "/* custom css here */");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var crash = function () {
|
var crash = function () {
|
||||||
|
|
Loading…
Reference in a new issue