diff options
author | sr55 <[email protected]> | 2008-08-04 17:36:06 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-08-04 17:36:06 +0000 |
commit | 1cf6953b3af6e6ff36697e712c77a9c98cdb2c41 (patch) | |
tree | 37223cf17e74fe1f42b4aac7013b97df7aa69205 /win/C#/Functions/Common.cs | |
parent | a407a9c74cc0eb283d6a5182cb2dafb37c8e603f (diff) |
WinGui:
- Activity log - Added CPU description, temp dir, install dir and data dir to the WinGUI log header.
- Renamed rssReader to appcast reader
- Added option for stable builds to check unstable appcast.
- Unstable builds check both appcasts so will always show the latest release
- Added some containers to frmMain.
- Fixed (I think) an issue with a regex which prases the CLI version information. It may not detect public release build information up correctly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1606 b64f7644-9d1e-0410-96f1-a4d463321fa5
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]);
|