}\r
catch (Exception e)\r
{\r
- UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeBuild, string.Empty);\r
+ UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeBuild, 0);\r
UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakePlatform, string.Empty);\r
UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeVersion, string.Empty);\r
UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeExeHash, string.Empty);\r
/// <summary>\r
/// The Current Build\r
/// </summary>\r
- private readonly string currentBuild;\r
+ private readonly int currentBuild;\r
\r
/// <summary>\r
/// Initializes a new instance of the <see cref="UpdateInfo"/> class.\r
/// <param name="currentBuild">\r
/// The current Build.\r
/// </param>\r
- public UpdateInfo(UpdateCheckInformation reader, string currentVersion, string currentBuild)\r
+ public UpdateInfo(UpdateCheckInformation reader, string currentVersion, int currentBuild)\r
{\r
InitializeComponent();\r
\r
if (info.NewVersionAvailable)\r
{\r
UpdateInfo updateWindow = new UpdateInfo(info, userSettingService.GetUserSetting<string>(ASUserSettingConstants.HandBrakeVersion),\r
- userSettingService.GetUserSetting<string>(ASUserSettingConstants.HandBrakeBuild));\r
+ userSettingService.GetUserSetting<int>(ASUserSettingConstants.HandBrakeBuild));\r
updateWindow.ShowDialog();\r
}\r
}\r
\r
if (info.NewVersionAvailable)\r
{\r
- UpdateInfo updateWindow = new UpdateInfo(info, userSettingService.GetUserSetting<string>(ASUserSettingConstants.HandBrakeVersion), userSettingService.GetUserSetting<string>(ASUserSettingConstants.HandBrakeBuild));\r
+ UpdateInfo updateWindow = new UpdateInfo(info, userSettingService.GetUserSetting<string>(ASUserSettingConstants.HandBrakeVersion), userSettingService.GetUserSetting<int>(ASUserSettingConstants.HandBrakeBuild));\r
updateWindow.ShowDialog();\r
}\r
else\r