changed windows search path

This commit is contained in:
dj2ls 2022-02-21 18:59:03 +01:00
parent 84eb027241
commit 84e342cd89

View file

@ -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