The crashlog feature was lost during the removal of the auto-updater. This commit adds it back, in a slightly different way.
12 lines
346 B
C#
12 lines
346 B
C#
using System.Runtime.Versioning;
|
|
using Duplicati.Library.Crashlog;
|
|
|
|
namespace Duplicati.WindowsService.Net8
|
|
{
|
|
// Wrapper class to keep code independent
|
|
public static class Program
|
|
{
|
|
public static int Main(string[] args)
|
|
=> CrashlogHelper.WrapWithCrashLog(() => Duplicati.WindowsService.Program.Main(args));
|
|
}
|
|
} |