diff options
author | sr55 <[email protected]> | 2014-11-28 22:20:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-11-28 22:20:42 +0000 |
commit | 111bcba3edca2b60cbf34fbbe915d1817b06ada1 (patch) | |
tree | a5fb5fd4c47a3c00e2dbc5dc8432c2cd9037421b /win/CS/HandBrakeWPF/Services/UpdateService.cs | |
parent | b332cc6dcc28d06f20e81fd44af2e39fba8b80e9 (diff) |
WinGui: Remove the CLI Check Helper. Using LibHB to determine version information instead.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6564 b64f7644-9d1e-0410-96f1-a4d463321fa5
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);
|