Fixed startup for new instances
This commit is contained in:
@@ -13,11 +13,6 @@ public class PluginService
|
||||
public readonly List<MoonlightPlugin> Plugins = new();
|
||||
public readonly Dictionary<MoonlightPlugin, string> PluginFiles = new();
|
||||
|
||||
public PluginService()
|
||||
{
|
||||
ReloadPlugins().Wait();
|
||||
}
|
||||
|
||||
public Task ReloadPlugins()
|
||||
{
|
||||
PluginFiles.Clear();
|
||||
|
||||
@@ -126,6 +126,7 @@ public class Startup
|
||||
|
||||
await StorageService.EnsureCreated();
|
||||
await DatabaseCheckupService.Perform();
|
||||
await PluginService.ReloadPlugins();
|
||||
}
|
||||
private Task Configure()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user