Skip to content

Commit 7f797b1

Browse files
committed
Add code comments
1 parent 3bd76b2 commit 7f797b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher.Core/Plugin/PluginManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,8 @@ private static bool SameOrLesserPluginVersionExists(string metadataPath)
707707

708708
public static bool PluginModified(string id)
709709
{
710+
// We should consider initializing plugin as modified since it cannot be installed/uninstalled/updated and
711+
// we cannot call any plugin methods
710712
return ModifiedPlugins.Contains(id) && _allInitializedPlugins.ContainsKey(id);
711713
}
712714

0 commit comments

Comments
 (0)