mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Changed update url to use website instead git raw url
This commit is contained in:
parent
e8dcc69355
commit
fa2ff69c8f
2 changed files with 1 additions and 10 deletions
|
@ -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();
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue