Fixed startup for new instances
This commit is contained in:
parent
26fdfe112b
commit
13131e6fca
2 changed files with 1 additions and 5 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue