Skip to content

Commit

Permalink
feat(templates): pass logger to velopack app bitfoundation#9544 (bitf…
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi authored Dec 26, 2024
1 parent 44afd49 commit 3a3bfaf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Microsoft.Web.WebView2.Core;
using Boilerplate.Client.Core.Components;
using Boilerplate.Client.Windows.Services;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Components.WebView.WindowsForms;

namespace Boilerplate.Client.Windows;
Expand Down Expand Up @@ -42,7 +43,7 @@ public static void Main(string[] args)
});

// https://github.com/velopack/velopack
VelopackApp.Build().Run();
VelopackApp.Build().Run(Services.GetRequiredService<ILogger<VelopackApp>>());
_ = Task.Run(async () =>
{
try
Expand Down

0 comments on commit 3a3bfaf

Please sign in to comment.