about: trim the downloaded version string
This commit is contained in:
parent
2714a11188
commit
b7ad0e4fd7
|
@ -70,7 +70,7 @@ namespace SparkleShare {
|
|||
Uri uri = new Uri ("http://www.sparkleshare.org/version");
|
||||
|
||||
try {
|
||||
string latest_version = web_client.DownloadString (uri);
|
||||
string latest_version = web_client.DownloadString (uri).Trim ();
|
||||
|
||||
if (new Version (latest_version) > new Version (RunningVersion))
|
||||
UpdateLabelEvent ("A newer version (" + latest_version + ") is available!");
|
||||
|
|
Loading…
Reference in a new issue