mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
23 lines
789 B
C#
23 lines
789 B
C#
using System.Collections.Generic;
|
|
using Flow.Launcher.Core.Plugin;
|
|
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;
|
|
|
|
internal override PluginPair CreatePluginPair(string filePath, PluginMetadata metadata)
|
|
{
|
|
return new PluginPair
|
|
{
|
|
Plugin = new PythonPluginV2(filePath),
|
|
Metadata = metadata
|
|
};
|
|
}
|
|
|
|
internal PythonV2Environment(List<PluginMetadata> pluginMetadataList, PluginsSettings pluginSettings) : base(pluginMetadataList, pluginSettings) { }
|
|
}
|
|
}
|