diff --git a/SafeExamBrowser.Applications/ExternalApplication.cs b/SafeExamBrowser.Applications/ExternalApplication.cs index fc72d452..700dad79 100644 --- a/SafeExamBrowser.Applications/ExternalApplication.cs +++ b/SafeExamBrowser.Applications/ExternalApplication.cs @@ -94,7 +94,7 @@ namespace SafeExamBrowser.Applications lock (@lock) { - if (instances.Any()) + if (instances.Any() && !settings.AllowRunning) { logger.Info("Terminating application..."); diff --git a/SafeExamBrowser.Configuration/ConfigurationData/DataMapper.Applications.cs b/SafeExamBrowser.Configuration/ConfigurationData/DataMapper.Applications.cs index 14eb0982..d8497452 100644 --- a/SafeExamBrowser.Configuration/ConfigurationData/DataMapper.Applications.cs +++ b/SafeExamBrowser.Configuration/ConfigurationData/DataMapper.Applications.cs @@ -127,11 +127,6 @@ namespace SafeExamBrowser.Configuration.ConfigurationData application.OriginalName = originalName; } - if (applicationData.TryGetValue(Keys.Applications.RendererName, out v) && v is string rendererName) - { - application.RendererName = rendererName; - } - if (applicationData.TryGetValue(Keys.Applications.ShowInShell, out v) && v is bool showInShell) { application.ShowInShell = showInShell; diff --git a/SafeExamBrowser.Configuration/ConfigurationData/Keys.cs b/SafeExamBrowser.Configuration/ConfigurationData/Keys.cs index c769af62..6dcdb5c9 100644 --- a/SafeExamBrowser.Configuration/ConfigurationData/Keys.cs +++ b/SafeExamBrowser.Configuration/ConfigurationData/Keys.cs @@ -32,7 +32,6 @@ namespace SafeExamBrowser.Configuration.ConfigurationData internal const string ExecutablePath = "path"; internal const string OperatingSystem = "os"; internal const string OriginalName = "originalName"; - internal const string RendererName = "windowHandlingProcess"; internal const string ShowInShell = "iconInTaskbar"; internal const string Whitelist = "permittedProcesses"; } diff --git a/SafeExamBrowser.Settings/Applications/WhitelistApplication.cs b/SafeExamBrowser.Settings/Applications/WhitelistApplication.cs index 7fd0a960..0941ce1a 100644 --- a/SafeExamBrowser.Settings/Applications/WhitelistApplication.cs +++ b/SafeExamBrowser.Settings/Applications/WhitelistApplication.cs @@ -53,7 +53,7 @@ namespace SafeExamBrowser.Settings.Applications public string DisplayName { get; set; } /// - /// The name of the main executable of the application. + /// The file name of the main executable of the application. /// public string ExecutableName { get; set; } @@ -72,11 +72,6 @@ namespace SafeExamBrowser.Settings.Applications /// public string OriginalName { get; set; } - /// - /// The name of the executable responsible for rendering the user interface. - /// - public string RendererName { get; set; } - /// /// Determines whether the user will be able to access the application via the shell. ///