summaryrefslogtreecommitdiffstats
path: root/win/C#/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Program.cs')
-rw-r--r--win/C#/Program.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs
index ea82e3e34..8600fe569 100644
--- a/win/C#/Program.cs
+++ b/win/C#/Program.cs
@@ -8,6 +8,9 @@ namespace Handbrake
using System;
using System.IO;
using System.Windows.Forms;
+
+ using Handbrake.Properties;
+
using Presets;
/// <summary>
@@ -21,6 +24,12 @@ namespace Handbrake
[STAThread]
public static void Main()
{
+ if (Settings.Default.UpdateRequired)
+ {
+ Settings.Default.Upgrade();
+ Settings.Default.UpdateRequired = false;
+ }
+
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
const string failedInstall = "HandBrake is not installed properly. Please reinstall HandBrake. \n\n";