Initial WIP commit
Some checks failed
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Failing after 9s
Some checks failed
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Failing after 9s
This commit is contained in:
26
StatusWindow/Program.cs
Normal file
26
StatusWindow/Program.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user