diff --git a/Flow.Launcher.Core/ExternalPlugins/Environments/AbstractPluginEnvironment.cs b/Flow.Launcher.Core/ExternalPlugins/Environments/AbstractPluginEnvironment.cs index 50bdf6df9..8c3a50475 100644 --- a/Flow.Launcher.Core/ExternalPlugins/Environments/AbstractPluginEnvironment.cs +++ b/Flow.Launcher.Core/ExternalPlugins/Environments/AbstractPluginEnvironment.cs @@ -1,5 +1,4 @@ -using Flow.Launcher.Infrastructure; -using Flow.Launcher.Infrastructure.Logger; +using Flow.Launcher.Infrastructure.Logger; using Flow.Launcher.Infrastructure.UserSettings; using Flow.Launcher.Plugin; using Flow.Launcher.Plugin.SharedCommands; @@ -7,7 +6,6 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; -using System.Text.RegularExpressions; using System.Windows.Forms; namespace Flow.Launcher.Core.ExternalPlugins.Environments @@ -32,12 +30,6 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments internal PluginsSettings PluginSettings; - private const string updatePythonIndicatorFilename = ".updatePythonPath"; - - private const string updateNodeIndicatorFilename = ".updateNodePath"; - - private const string appDataRegex = @"app-\d\.\d\.\d"; - internal AbstractPluginEnvironment(List pluginMetadataList, PluginsSettings pluginSettings) { PluginMetadataList = pluginMetadataList; diff --git a/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs b/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs index 8f088c3f6..130e25d7b 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs @@ -5,7 +5,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings { public class PluginsSettings : BaseModel { - private string pythonExecutablePath; + private string pythonExecutablePath = string.Empty; public string PythonExecutablePath { get { return pythonExecutablePath; } set @@ -15,7 +15,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings } } - private string nodeExecutablePath; + private string nodeExecutablePath = string.Empty; public string NodeExecutablePath { get { return nodeExecutablePath; }