mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Block install if manual install exists
This commit is contained in:
parent
cf056a92c0
commit
2e2d2591d7
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
|
||||
internal async Task InstallOrUpdate(UserPlugin plugin)
|
||||
{
|
||||
if (PluginExists(plugin.ID))
|
||||
if (PluginExists(plugin.ID) || Directory.Exists(Path.Combine(DataLocation.PluginsDirectory, plugin.Name)))
|
||||
{
|
||||
if (Context.API.GetAllPlugins()
|
||||
.Any(x => x.Metadata.ID == plugin.ID && x.Metadata.Version.CompareTo(plugin.Version) < 0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue