Compare commits
1 commit
master
...
fix/versio
Author | SHA1 | Date | |
---|---|---|---|
![]() |
dc4e65beb3 |
1 changed files with 3 additions and 1 deletions
|
@ -32,6 +32,7 @@ namespace SparkleShare {
|
|||
public delegate void UpdateLabelEventDelegate (string text);
|
||||
|
||||
public readonly string WebsiteLinkAddress = "https://www.sparkleshare.org/";
|
||||
public readonly string VersionCheckAddress = "https://www.sparkleshare.org/version";
|
||||
public readonly string CreditsLinkAddress = "https://github.com/hbons/SparkleShare/blob/master/legal/Authors.txt";
|
||||
public readonly string ReportProblemLinkAddress = "https://www.github.com/hbons/SparkleShare/issues";
|
||||
public readonly string DebugLogLinkAddress = "file://" + SparkleShare.Controller.Config.LogFilePath;
|
||||
|
@ -62,7 +63,7 @@ namespace SparkleShare {
|
|||
Thread.Sleep (500);
|
||||
|
||||
var web_client = new WebClient ();
|
||||
var uri = new Uri ("https://www.sparkleshare.org/version");
|
||||
var uri = new Uri (VersionCheckAddress);
|
||||
|
||||
try {
|
||||
string latest_version = web_client.DownloadString (uri);
|
||||
|
@ -80,3 +81,4 @@ namespace SparkleShare {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue