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