mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
add empty string defaults to plugin executable paths
This commit is contained in:
parent
e28906de9e
commit
cef53bce96
2 changed files with 3 additions and 11 deletions
|
|
@ -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<PluginMetadata> pluginMetadataList, PluginsSettings pluginSettings)
|
||||
{
|
||||
PluginMetadataList = pluginMetadataList;
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue