mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
parent
d126117bd3
commit
01801766b6
|
@ -100,7 +100,7 @@ async function createWindow() {
|
|||
app.whenReady().then(() => {
|
||||
createWindow();
|
||||
|
||||
console.log(platform())
|
||||
console.log(platform());
|
||||
//Generate daemon binary path
|
||||
var daemonPath = "";
|
||||
switch (platform().toLowerCase()) {
|
||||
|
@ -137,9 +137,7 @@ daemonProcess = spawn(daemonPath, [], {
|
|||
});
|
||||
console.log(daemonProcess)
|
||||
*/
|
||||
daemonProcess = spawn(daemonPath, [], {
|
||||
});
|
||||
|
||||
daemonProcess = spawn(daemonPath, [], {});
|
||||
|
||||
// return process messages
|
||||
daemonProcess.on("error", (err) => {
|
||||
|
@ -154,7 +152,7 @@ daemonProcess = spawn(daemonPath, [], {
|
|||
});
|
||||
daemonProcess.stderr.on("data", (data) => {
|
||||
// daemonProcessLog.info(`${data}`);
|
||||
console.log(data)
|
||||
console.log(data);
|
||||
});
|
||||
daemonProcess.on("close", (code) => {
|
||||
// daemonProcessLog.warn(`daemonProcess exited with code ${code}`);
|
||||
|
|
Loading…
Reference in a new issue