@@ -240,7 +240,7 @@ int colorScheme = COLOR_SCHEME_ALTERNATIVE_A;
240
240
241
241
Process nodeHubby;
242
242
int hubPid = 0 ;
243
- String nodeHubName = " Ganglion Hub " ;
243
+ String nodeHubName = " GanglionHub " ;
244
244
Robot rob3115;
245
245
246
246
// -----------------------------------------1-------------------------------
@@ -255,7 +255,7 @@ void setup() {
255
255
// server on shut down of this app, the main process.
256
256
// prepareExitHandler();
257
257
if (dev == false ) {
258
- hubStop(); // kill any existing hubs before starting a new one..
258
+ if ( ! isWindows()) hubStop(); // kill any existing hubs before starting a new one..
259
259
hubStart();
260
260
prepareExitHandler();
261
261
}
@@ -400,13 +400,13 @@ void hubStart() {
400
400
// https://forum.processing.org/two/discussion/13053/use-launch-for-applications-kept-in-data-folder
401
401
if (isWindows()) {
402
402
println (" OpenBCI_GUI: hubStart: OS Detected: Windows" );
403
- nodeHubby = launch(dataPath(" Ganglion Hub .exe" ));
403
+ nodeHubby = launch(dataPath(" GanglionHub .exe" ));
404
404
} else if (isLinux()) {
405
405
println (" OpenBCI_GUI: hubStart: OS Detected: Linux" );
406
- nodeHubby = exec(dataPath(" Ganglion Hub " ));
406
+ nodeHubby = exec(dataPath(" GanglionHub " ));
407
407
} else {
408
408
println (" OpenBCI_GUI: hubStart: OS Detected: Mac" );
409
- nodeHubby = launch(dataPath(" Ganglion Hub .app" ));
409
+ nodeHubby = launch(dataPath(" GanglionHub .app" ));
410
410
}
411
411
// hubRunning = true;
412
412
}
@@ -478,7 +478,7 @@ void killRunningProcessMac() {
478
478
*/
479
479
boolean killRunningprocessWin () {
480
480
try {
481
- Runtime . getRuntime(). exec(" taskkill /F /IM Ganglion Hub .exe" );
481
+ Runtime . getRuntime(). exec(" taskkill /F /IM GanglionHub .exe" );
482
482
return true ;
483
483
}
484
484
catch (Exception err) {
@@ -966,7 +966,7 @@ void introAnimation() {
966
966
textLeading (24 );
967
967
fill (31 , 69 , 110 , transparency);
968
968
textAlign (CENTER , CENTER );
969
- text (" OpenBCI GUI v2.0 .0\n January 2017" , width / 2 , height / 2 + width / 9 );
969
+ text (" OpenBCI GUI v2.1 .0\n January 2017" , width / 2 , height / 2 + width / 9 );
970
970
}
971
971
972
972
// exit intro animation at t2
0 commit comments