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/Helpers/CliCheckHelper.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/Helpers/CliCheckHelper.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs b/win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs index cfafe3cec..2e69eacec 100644 --- a/win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs +++ b/win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs @@ -77,10 +77,8 @@ namespace HandBrakeWPF.Helpers while ((line = stdOutput.ReadLine()) != null)
{
Match m = Regex.Match(line, @"HandBrake ([svnM0-9.]*) \(([0-9]*)\)");
- Match platform = Regex.Match(line, @"- ([A-Za-z0-9\s ]*) -");
if (m.Success)
{
- string version = m.Groups[1].Success ? m.Groups[1].Value : string.Empty;
string build = m.Groups[2].Success ? m.Groups[2].Value : string.Empty;
int buildValue;
@@ -89,12 +87,6 @@ namespace HandBrakeWPF.Helpers userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeBuild, buildValue);
success = true;
}
-
- if (platform.Success)
- {
- userSettingService.SetUserSetting(
- UserSettingConstants.HandBrakePlatform, platform.Value.Replace("-", string.Empty).Trim());
- }
}
while (!cliProcess.HasExited)
@@ -117,7 +109,6 @@ namespace HandBrakeWPF.Helpers catch (Exception e)
{
userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeBuild, 0);
- userSettingService.SetUserSetting(UserSettingConstants.HandBrakePlatform, string.Empty);
userSettingService.SetUserSetting(UserSettingConstants.HandBrakeExeHash, string.Empty);
errorService.ShowError(
|