add comment back and remove extra empty line

This commit is contained in:
弘韬 张 2021-02-24 18:49:01 +08:00
parent 0b51a8c467
commit 03df6e4585

View file

@ -38,6 +38,10 @@ namespace Flow.Launcher.Core.Plugin
{
string assemblyPath = dependencyResolver.ResolveAssemblyToPath(assemblyName);
// When resolving dependencies, ignore assembly depenedencies that already exits with Flow.Launcher
// Otherwise duplicate assembly will be loaded, and some weird behavior will occur such as WinRT.dll
// will fail to create
if (assemblyPath == null || ExistsInReferencedPackage(assemblyName))
return null;