mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
update set plugin path for python
This commit is contained in:
parent
4b0d17c81c
commit
f76e2962e6
1 changed files with 1 additions and 2 deletions
|
|
@ -33,7 +33,6 @@ namespace Flow.Launcher.Core.ExternalPlugins
|
|||
this.pluginSettings = pluginSettings;
|
||||
}
|
||||
//TODO: CHECK IF NEED TO RESET PATH AFTER FLOW UPDATE
|
||||
// LOG NODE PATH
|
||||
internal IEnumerable<PluginPair> PythonSetup()
|
||||
{
|
||||
return Setup(AllowedLanguage.Python, PythonEnv);
|
||||
|
|
@ -60,7 +59,7 @@ namespace Flow.Launcher.Core.ExternalPlugins
|
|||
{
|
||||
case AllowedLanguage.Python:
|
||||
if (!string.IsNullOrEmpty(pluginSettings.PythonFilePath) && FilesFolders.FileExists(pluginSettings.PythonFilePath))
|
||||
return SetPathForPluginPairs($"{pluginSettings.PythonFilePath}\\{PythonExecutable}", languageType);
|
||||
return SetPathForPluginPairs(pluginSettings.PythonFilePath, languageType);
|
||||
break;
|
||||
|
||||
case AllowedLanguage.TypeScript:
|
||||
|
|
|
|||
Loading…
Reference in a new issue