File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Flow.Launcher.Core/Plugin Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
3- using System . IO ;
43using System . Linq ;
54using System . Reflection ;
65using System . Threading . Tasks ;
@@ -139,15 +138,11 @@ public static IEnumerable<PluginPair> ExecutablePlugins(IEnumerable<PluginMetada
139138 . Where ( o => o . Language . Equals ( AllowedLanguage . Executable , StringComparison . OrdinalIgnoreCase ) )
140139 . Select ( metadata =>
141140 {
142- var plugin = new PluginPair
141+ return new PluginPair
143142 {
144143 Plugin = new ExecutablePlugin ( metadata . ExecuteFilePath ) ,
145144 Metadata = metadata
146145 } ;
147-
148- plugin . Metadata . AssemblyName = string . Empty ;
149-
150- return plugin ;
151146 } ) ;
152147 }
153148
@@ -157,15 +152,11 @@ public static IEnumerable<PluginPair> ExecutableV2Plugins(IEnumerable<PluginMeta
157152 . Where ( o => o . Language . Equals ( AllowedLanguage . ExecutableV2 , StringComparison . OrdinalIgnoreCase ) )
158153 . Select ( metadata =>
159154 {
160- var plugin = new PluginPair
155+ return new PluginPair
161156 {
162157 Plugin = new ExecutablePlugin ( metadata . ExecuteFilePath ) ,
163158 Metadata = metadata
164159 } ;
165-
166- plugin . Metadata . AssemblyName = string . Empty ;
167-
168- return plugin ;
169160 } ) ;
170161 }
171162 }
You can’t perform that action at this time.
0 commit comments