diff options
author | sr55 <[email protected]> | 2013-03-20 20:35:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-03-20 20:35:48 +0000 |
commit | 285a71750a2c3fcb5c34d3fbf28e5105c03d7b9a (patch) | |
tree | c5c6bac2cc4eaa3a8edc52b7b4ec8e47cf229480 /win/CS/HandBrakeWPF/Services/UpdateService.cs | |
parent | 97a88523f2b6352847d705cbf527fd5ee0f5247b (diff) |
WinGui: Appcast related fixes and tidyup.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5351 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/UpdateService.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/UpdateService.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Services/UpdateService.cs b/win/CS/HandBrakeWPF/Services/UpdateService.cs index 112493ac7..b95a1d862 100644 --- a/win/CS/HandBrakeWPF/Services/UpdateService.cs +++ b/win/CS/HandBrakeWPF/Services/UpdateService.cs @@ -87,10 +87,9 @@ namespace HandBrakeWPF.Services try
{
string url =
- this.userSettingService.GetUserSetting<string>(UserSettingConstants.HandBrakePlatform)
- .Contains("x86_64")
- ? this.userSettingService.GetUserSetting<string>(UserSettingConstants.Appcast_x64)
- : this.userSettingService.GetUserSetting<string>(UserSettingConstants.Appcast_i686);
+ VersionHelper.Is64Bit()
+ ? Constants.Appcast64
+ : Constants.Appcast32;
var currentBuild =
this.userSettingService.GetUserSetting<int>(ASUserSettingConstants.HandBrakeBuild);
|