diff options
Diffstat (limited to 'win/C#/Functions/Common.cs')
-rw-r--r-- | win/C#/Functions/Common.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs index 87256dc55..3f68b6346 100644 --- a/win/C#/Functions/Common.cs +++ b/win/C#/Functions/Common.cs @@ -27,7 +27,7 @@ namespace Handbrake.Functions {
try
{
- Functions.RssReader rssRead = new Functions.RssReader();
+ Functions.AppcastReader rssRead = new Functions.AppcastReader();
string build = rssRead.build();
int latest = int.Parse(build);
@@ -76,10 +76,10 @@ namespace Handbrake.Functions while (!cliProcess.HasExited)
{
line = stdOutput.ReadLine();
- Match m = Regex.Match(line, @"HandBrake svn[0-9]*[M]* \([0-9]*\)");
+ Match m = Regex.Match(line, @"HandBrake [0-9\.]*svn[0-9]*[M]* \([0-9]*\)");
if (m.Success != false)
{
- string data = line.Replace("(", "").Replace(")","").Replace("HandBrake ","");
+ string data = line.Replace("(", "").Replace(")", "").Replace("HandBrake ", "");
string[] arr = data.Split(' ');
cliVersionData.Add(arr[0]);
cliVersionData.Add(arr[1]);
|