summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r--win/CS/HandBrakeWPF/Constants.cs12
-rw-r--r--win/CS/HandBrakeWPF/Services/UpdateService.cs10
2 files changed, 20 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Constants.cs b/win/CS/HandBrakeWPF/Constants.cs
index 36732611d..174db62ad 100644
--- a/win/CS/HandBrakeWPF/Constants.cs
+++ b/win/CS/HandBrakeWPF/Constants.cs
@@ -25,6 +25,18 @@ namespace HandBrakeWPF
public const string Appcast32 = "http://handbrake.fr/appcast.i386.xml";
/// <summary>
+ /// The appcast 32.
+ /// </summary>
+ public const string AppcastUnstable32 = "http://handbrake.fr/appcast_unstable.i386.xml";
+
+
+ /// <summary>
+ /// The appcast 32.
+ /// </summary>
+ public const string AppcastUnstable64 = "http://handbrake.fr/appcast_unstable.x86_64.xml";
+
+
+ /// <summary>
/// The any.
/// </summary>
public const string Any = "(Any)";
diff --git a/win/CS/HandBrakeWPF/Services/UpdateService.cs b/win/CS/HandBrakeWPF/Services/UpdateService.cs
index 41135743b..db94b56b0 100644
--- a/win/CS/HandBrakeWPF/Services/UpdateService.cs
+++ b/win/CS/HandBrakeWPF/Services/UpdateService.cs
@@ -14,8 +14,6 @@ namespace HandBrakeWPF.Services
using System.Net;
using System.Threading;
- using HandBrake.ApplicationServices;
- using HandBrake.ApplicationServices.Services.Interfaces;
using HandBrake.ApplicationServices.Utilities;
using HandBrakeWPF.Model;
@@ -91,6 +89,14 @@ namespace HandBrakeWPF.Services
? Constants.Appcast64
: Constants.Appcast32;
+ if (VersionHelper.IsNightly())
+ {
+ url =
+ VersionHelper.Is64Bit()
+ ? Constants.AppcastUnstable64
+ : Constants.AppcastUnstable32;
+ }
+
var currentBuild =
this.userSettingService.GetUserSetting<int>(UserSettingConstants.HandBrakeBuild);
var skipBuild = this.userSettingService.GetUserSetting<int>(