Flow.Launcher/Flow.Launcher.Core/ExternalPlugins/Environments/PythonV2Environment.cs

24 lines
789 B
C#
Raw Normal View History

2023-03-26 06:12:21 +00:00
using System.Collections.Generic;
2023-06-02 15:05:09 +00:00
using Flow.Launcher.Core.Plugin;
2023-03-26 06:12:21 +00:00
using Flow.Launcher.Infrastructure.UserSettings;
using Flow.Launcher.Plugin;
namespace Flow.Launcher.Core.ExternalPlugins.Environments
{
internal class PythonV2Environment : PythonEnvironment
{
internal override string Language => AllowedLanguage.PythonV2;
2023-06-02 15:05:09 +00:00
internal override PluginPair CreatePluginPair(string filePath, PluginMetadata metadata)
{
return new PluginPair
{
Plugin = new PythonPluginV2(filePath),
Metadata = metadata
};
}
2023-03-26 06:12:21 +00:00
internal PythonV2Environment(List<PluginMetadata> pluginMetadataList, PluginsSettings pluginSettings) : base(pluginMetadataList, pluginSettings) { }
}
}