All checks were successful
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 1m12s
28 lines
633 B
C#
28 lines
633 B
C#
using Serilog;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using Velopack;
|
|
|
|
namespace HardwareMonitorStatusWindow.StatusWindow;
|
|
|
|
internal class Program
|
|
{
|
|
[STAThread]
|
|
public static void Main(string[] args)
|
|
{
|
|
if (args.Contains("--debug"))
|
|
Debugger.Launch();
|
|
|
|
Log.Logger = new LoggerConfiguration().WriteTo.File("HardwareMonitorStatusWindow.log").CreateLogger();
|
|
|
|
Log.Information("Start");
|
|
|
|
VelopackApp.Build().SetLogger(new SerilogVelopackLogger()).Run();
|
|
|
|
var app = new App();
|
|
app.InitializeComponent();
|
|
app.Run();
|
|
|
|
Log.Information("End");
|
|
}
|
|
} |