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