Skip to content

Commit

Permalink
Final 3.0.0 commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcadeRenegade committed Feb 12, 2016
1 parent cfeb828 commit faabecf
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions SidebarDiagnostics/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ protected async override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);

// UPDATE
// ERROR HANDLING
#if !DEBUG
await SquirrelUpdate(false);
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(AppDomain_Error);
#endif

// ERROR HANDLING
// UPDATE
#if !DEBUG
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(AppDomain_Error);
if (Framework.Settings.Instance.AutoUpdate)
{
await SquirrelUpdate(false);
}
#endif

// SETTINGS
Expand Down

0 comments on commit faabecf

Please sign in to comment.