mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Improve code quality
This commit is contained in:
parent
ad0270079d
commit
95b4c4c766
1 changed files with 2 additions and 3 deletions
|
|
@ -71,9 +71,8 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
|
||||
if (pluginJsonEntry != null)
|
||||
{
|
||||
using StreamReader reader = new StreamReader(pluginJsonEntry.Open());
|
||||
string pluginJsonContent = reader.ReadToEnd();
|
||||
plugin = JsonSerializer.Deserialize<UserPlugin>(pluginJsonContent);
|
||||
using Stream stream = pluginJsonEntry.Open();
|
||||
plugin = JsonSerializer.Deserialize<UserPlugin>(stream);
|
||||
plugin.IcoPath = "Images\\zipfolder.png";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue