Fixed Install/Remove plugin page in UI

This commit is contained in:
2024-05-26 02:05:06 +03:00
parent 5345515512
commit d3dd29f4bf
4 changed files with 72 additions and 14 deletions

View File

@@ -165,6 +165,12 @@ public class PluginManager
await ServerCom.DownloadFileAsync(dependency.DownloadLink, dependency.DownloadLocation, progress);
currentProgress += stepProgress;
}
PluginInfo pluginInfo = new PluginInfo(pluginData.Name,
pluginData.Version,
pluginData.Dependencies.Select(dep => dep.DownloadLocation).ToList());
await AppendPluginToDatabase(pluginInfo);
}