refactor<*>: change all url of this repo from gitee.com to github.com

This commit is contained in:
leo 2021-11-15 14:26:55 +08:00
parent 18f176a66b
commit 7fe48d9a88
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ using System.Text;
namespace SourceGit.Models { namespace SourceGit.Models {
/// <summary> /// <summary>
/// Gitee开放API中Release信息格式 /// Github开放API中Release信息格式
/// </summary> /// </summary>
public class Version { public class Version {
[JsonPropertyName("id")] [JsonPropertyName("id")]

View file

@ -114,7 +114,7 @@
<!-- Official site --> <!-- Official site -->
<TextBlock HorizontalAlignment="Center" Margin="0,4,0,16"> <TextBlock HorizontalAlignment="Center" Margin="0,4,0,16">
<TextBlock Text="© 2021" Margin="0" Padding="0"/> <TextBlock Text="© 2021" Margin="0" Padding="0"/>
<Hyperlink NavigateUri="https://gitee.com/sourcegit/sourcegit.git" RequestNavigate="OnRequestNavigate" ToolTip="https://gitee.com/sourcegit/sourcegit.git"> <Hyperlink NavigateUri="https://github.com/sourcegit-scm/sourcegit.git" RequestNavigate="OnRequestNavigate" ToolTip="https://github.com/sourcegit-scm/sourcegit.git">
<Run Text="SourceGit."/> <Run Text="SourceGit."/>
</Hyperlink> </Hyperlink>
<TextBlock Text="All rights reserved." Margin="0" Padding="0"/> <TextBlock Text="All rights reserved." Margin="0" Padding="0"/>

View file

@ -15,7 +15,7 @@ namespace SourceGit.Views {
} }
private void Download(object sender, RoutedEventArgs e) { private void Download(object sender, RoutedEventArgs e) {
var url = $"https://gitee.com/sourcegit/sourcegit/releases/{Version.TagName}"; var url = $"https://github.com/sourcegit-scm/sourcegit/releases/{Version.TagName}";
#if NET48 #if NET48
Process.Start(url); Process.Start(url);
#else #else