Try setting up installer/updater

This commit is contained in:
2024-09-26 19:37:53 -04:00
parent c4cd246fb0
commit 06ddddb852
4 changed files with 113 additions and 1 deletions

27
Program.cs Normal file
View File

@@ -0,0 +1,27 @@
using Microsoft.Extensions.Logging;
using Serilog;
using System;
using Velopack;
namespace WorldClockStatusWindow;
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");
}
}