mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Hide modified plugins in query results
This commit is contained in:
parent
53eec76069
commit
50449de653
1 changed files with 3 additions and 1 deletions
|
|
@ -188,6 +188,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
on existingPlugin.Metadata.ID equals pluginFromManifest.ID
|
||||
where existingPlugin.Metadata.Version.CompareTo(pluginFromManifest.Version) <
|
||||
0 // if current version precedes manifest version
|
||||
&& !PluginManager.PluginModified(existingPlugin.Metadata.ID)
|
||||
select
|
||||
new
|
||||
{
|
||||
|
|
@ -317,6 +318,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
|
||||
var plugin = new UserPlugin
|
||||
{
|
||||
// FIXME installing in store then install web ver
|
||||
ID = "",
|
||||
Name = name,
|
||||
Version = string.Empty,
|
||||
|
|
@ -380,7 +382,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
var results =
|
||||
PluginsManifest
|
||||
.UserPlugins
|
||||
.Where(x => !PluginExists(x.ID))
|
||||
.Where(x => !PluginExists(x.ID) && !PluginManager.PluginModified(x.ID))
|
||||
.Select(x =>
|
||||
new Result
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue