use discovered paths for processes

This commit is contained in:
Stephen Birarda 2015-12-03 13:53:19 -08:00
parent c2445f9f6e
commit c01566bc04

View file

@ -16,7 +16,7 @@ const ipcMain = electron.ipcMain;
require('crash-reporter').start();
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garggbage collected.
// be closed automatically when the JavaScript object is garbage collected.
var mainWindow = null;
var appIcon = null;
var TRAY_ICON = 'resources/tray-icon.png';
@ -78,13 +78,11 @@ app.on('ready', function() {
mainWindow = null;
});
var pInterface = new Process('interface', 'C:\\Interface\\interface.exe');
var domainServerPath = 'C:\\Users\\Ryan\\AppData\\Local\\High Fidelity\\Stack Manager\\domain-server.exe';
var acPath = 'C:\\Users\\Ryan\\AppData\\Local\\High Fidelity\\Stack Manager\\assignment-client.exe';
if (interfacePath && dsPath && acPath) {
var pInterface = new Process('interface', interfacePath);
var homeServer = new ProcessGroup('home', [
new Process('Domain Server', domainServerPath),
new Process('Domain Server', dsPath),
new Process('AC - Audio', acPath, ['-t0']),
new Process('AC - Avatar', acPath, ['-t1']),
new Process('AC - Asset', acPath, ['-t3']),
@ -118,4 +116,5 @@ app.on('ready', function() {
});
sendProcessUpdate();
}
});