Squirrel Application Integration

February 1, 2016 ยท View on GitHub

Just add this code to your .NET application.

Better when the application is fully loaded, in order to not slow down application startup time.

        Task.Run(async () =>
          {
              using (var mgr = new UpdateManager(@"https://s3-<region>.amazonaws.com/<appbucket>"))              
              {
                  try
                  {
                      await mgr.UpdateApp();
                  }
                  catch (Exception ex)
                  {

                  }
              }
          });

Reference