SDA-3770 Add support for optional symphony-c9-shell (#1446)

* Add support for optional symphony-c9-shell
This commit is contained in:
Robin Westberg
2022-07-05 09:43:35 +02:00
committed by GitHub
parent 5977ed8642
commit 8a7d5c0fcf
16 changed files with 501 additions and 9 deletions

View File

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