Changed update url to use website instead git raw url

This commit is contained in:
Jaex 2013-12-05 08:49:43 +02:00
parent e8dcc69355
commit fa2ff69c8f
2 changed files with 1 additions and 10 deletions

View file

@ -329,7 +329,7 @@ public static UpdateChecker CheckUpdate()
// Fallback if GitHub API fails
if (updateChecker.UpdateInfo == null || updateChecker.UpdateInfo.Status == UpdateStatus.UpdateCheckFailed)
{
updateChecker = new XMLUpdateChecker("https://raw.github.com/ShareX/ShareX/master/Update.xml", "ShareX");
updateChecker = new XMLUpdateChecker("http://getsharex.com/Update.xml", "ShareX");
updateChecker.CurrentVersion = Program.AssemblyVersion;
updateChecker.Proxy = ProxyInfo.Current.GetWebProxy();
updateChecker.CheckUpdate();

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<Update>
<ShareX>
<Stable>
<Version>8.4.0</Version>
<URL>https://github.com/ShareX/ShareX/releases/download/v8.4.0/ShareX-8.4.0-setup.exe</URL>
</Stable>
</ShareX>
</Update>