mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
changed windows search path
This commit is contained in:
parent
84eb027241
commit
84e342cd89
|
@ -218,13 +218,13 @@ app.whenReady().then(() => {
|
|||
|
||||
if(os.platform()=='win32' || os.platform()=='win64'){
|
||||
// for windows the relative path via path.join(__dirname) is not needed for some reason
|
||||
daemonProcess = exec('\\tnc\\daemon.exe', [])
|
||||
/*
|
||||
//daemonProcess = exec('\\tnc\\daemon.exe', [])
|
||||
|
||||
daemonProcess = exec(path.join(process.resourcesPath, 'tnc', 'daemon.exe'), [],
|
||||
{
|
||||
cwd: path.join(process.resourcesPath, 'tnc'),
|
||||
});
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
// return process messages
|
||||
|
|
Loading…
Reference in a new issue