Add Sentry error tracking

This commit is contained in:
Kamil Trzciński 2022-12-12 15:08:00 +01:00
parent 2b89b22d41
commit 10a8598b82
9 changed files with 106 additions and 36 deletions

View file

@ -17,6 +17,14 @@ namespace Updater
/// </summary>
[STAThread]
static void Main()
{
Instance.WithSentry(() =>
{
Run();
});
}
static void Run()
{
bool firstRun = Environment.GetCommandLineArgs().Contains("-first");
bool userCheck = Environment.GetCommandLineArgs().Contains("-user");