We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad02700 commit 95b4c4cCopy full SHA for 95b4c4c
Plugins/Flow.Launcher.Plugin.PluginsManager/Utilities.cs
@@ -71,9 +71,8 @@ internal static UserPlugin GetPluginInfoFromZip(string filePath)
71
72
if (pluginJsonEntry != null)
73
{
74
- using StreamReader reader = new StreamReader(pluginJsonEntry.Open());
75
- string pluginJsonContent = reader.ReadToEnd();
76
- plugin = JsonSerializer.Deserialize<UserPlugin>(pluginJsonContent);
+ using Stream stream = pluginJsonEntry.Open();
+ plugin = JsonSerializer.Deserialize<UserPlugin>(stream);
77
plugin.IcoPath = "Images\\zipfolder.png";
78
}
79
0 commit comments