diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/UpdateService.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/UpdateService.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/Services/UpdateService.cs b/win/CS/HandBrakeWPF/Services/UpdateService.cs index 85b1f4ab0..67220c0e3 100644 --- a/win/CS/HandBrakeWPF/Services/UpdateService.cs +++ b/win/CS/HandBrakeWPF/Services/UpdateService.cs @@ -15,6 +15,7 @@ namespace HandBrakeWPF.Services using System.Threading;
using HandBrake.ApplicationServices.Utilities;
+ using HandBrake.Interop;
using HandBrakeWPF.Model;
using HandBrakeWPF.Services.Interfaces;
@@ -96,11 +97,9 @@ namespace HandBrakeWPF.Services ? Constants.AppcastUnstable64
: Constants.AppcastUnstable32;
}
-
- var currentBuild =
- this.userSettingService.GetUserSetting<int>(UserSettingConstants.HandBrakeBuild);
- var skipBuild = this.userSettingService.GetUserSetting<int>(
- UserSettingConstants.Skipversion);
+
+ var currentBuild = HandBrakeUtils.Build;
+ var skipBuild = this.userSettingService.GetUserSetting<int>(UserSettingConstants.Skipversion);
// Initialize variables
WebRequest request = WebRequest.Create(url);
|