Commit 1a1dbde1 authored by Sergei Zubov's avatar Sergei Zubov

Fix daemon path

parent c3c98463
......@@ -117,11 +117,11 @@ function startDeStreamApi() {
const spawnDeStream = require('child_process').spawn;
//Start Breeze DeStream Daemon
let apiPath = path.resolve(__dirname, 'assets//daemon//DeStream.BreezeD');
let apiPath = path.resolve(__dirname, 'assets//daemon//DeStream.DeStreamD');
if (os.platform() === 'win32') {
apiPath = path.resolve(__dirname, '..\\..\\resources\\daemon\\DeStream.BreezeD.exe');
apiPath = path.resolve(__dirname, '..\\..\\resources\\daemon\\DeStream.DeStreamD.exe');
} else if(os.platform() === 'linux') {
apiPath = path.resolve(__dirname, '..//..//resources//daemon//DeStream.BreezeD');
apiPath = path.resolve(__dirname, '..//..//resources//daemon//DeStream.DeStreamD');
} else {
apiPath = path.resolve(__dirname, '..//..//resources//daemon//DeStream.DeStreamD');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment