Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static IWebHost BuildWebHost(string[] args)
Open the Electron Window in the Startup.cs file:

```csharp
public async void Configure(IApplicationBuilder app, IHostingEnvironment env)
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
if (env.IsDevelopment())
{
Expand All @@ -60,7 +60,7 @@ public async void Configure(IApplicationBuilder app, IHostingEnvironment env)
});

// Open the Electron-Window here
await Electron.WindowManager.CreateWindowAsync();
Task.Run(async () => await Electron.WindowManager.CreateWindowAsync());
}
```

Expand Down