mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-3770 Add support for optional symphony-c9-shell (#1446)
* Add support for optional symphony-c9-shell
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Symphony
|
||||
}
|
||||
|
||||
// Detect if Symphony is running
|
||||
bool isRunning = System.Diagnostics.Process.GetProcessesByName("Symphony").Length > 1;
|
||||
bool isRunning = (System.Diagnostics.Process.GetProcessesByName("Symphony").Length > 1 || System.Diagnostics.Process.GetProcessesByName("C9Shell").Length >= 1);
|
||||
if (!isRunning)
|
||||
{
|
||||
// If it is not running, change the label of the "Next" button to "Install" as the CloseDialog will be skipped
|
||||
@@ -81,7 +81,7 @@ namespace Symphony
|
||||
}
|
||||
|
||||
// Detect if Symphony is running
|
||||
bool isRunning = System.Diagnostics.Process.GetProcessesByName("Symphony").Length > 1;
|
||||
bool isRunning = (System.Diagnostics.Process.GetProcessesByName("Symphony").Length > 1 || System.Diagnostics.Process.GetProcessesByName("C9Shell").Length >= 1);
|
||||
if (isRunning)
|
||||
{
|
||||
// If it is running, continue to the "Close Symphony" screen
|
||||
|
||||
Reference in New Issue
Block a user