summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/UpdateService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/UpdateService.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/UpdateService.cs7
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);