Some checks failed
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Failing after 9s
26 lines
605 B
C#
26 lines
605 B
C#
using System;
|
|
using Serilog;
|
|
using Velopack;
|
|
|
|
namespace HardwareMonitorStatusWindow.StatusWindow;
|
|
|
|
internal class Program
|
|
{
|
|
[STAThread]
|
|
public static void Main(string[] args)
|
|
{
|
|
Log.Logger = new LoggerConfiguration().WriteTo.File("log.txt").CreateLogger();
|
|
|
|
Log.Logger.Information("Start");
|
|
|
|
// var loggerFactory = new LoggerFactory().AddSerilog(Log.Logger);
|
|
|
|
VelopackApp.Build().Run(); // loggerFactory.CreateLogger("Install")
|
|
|
|
var app = new App();
|
|
app.InitializeComponent();
|
|
app.Run();
|
|
|
|
Log.Logger.Information("End");
|
|
}
|
|
} |