Skip to content

Commit f47fa94

Browse files
committed
chore: 修改更新检查地址
1 parent 752cc34 commit f47fa94

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,4 +361,6 @@ MigrationBackup/
361361
.ionide/
362362

363363
# Fody - auto-generated XML schema
364-
FodyWeavers.xsd
364+
FodyWeavers.xsd
365+
366+
*.ini

CheckUpdates.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ private void buttonUpdateGUI_Click(object sender, EventArgs e)
334334
return;
335335
}
336336
//下载链接
337-
string downloadURL = $"{githubProxyURL}https://github.com/cmliu/SubsCheck-Win-GUI/releases/download/{最新GUI版本号}/SubsCheck_Win_GUI.zip";
337+
string downloadURL = $"{githubProxyURL}https://github.com/sinspired/SubsCheck-Win-GUI/releases/download/{最新GUI版本号}/SubsCheck_Win_GUI.zip";
338338
//目标文件
339339
string downloadEXE = "subs-check.win.gui.exe";
340340

MainGui.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ private async Task CheckGitHubVersionAsync()
399399
return; // 静默返回,不显示错误
400400
}
401401

402-
var result = await 获取版本号("https://api.github.com/repos/cmliu/SubsCheck-Win-GUI/releases/latest");
402+
var result = await 获取版本号("https://api.github.com/repos/sinspired/SubsCheck-Win-GUI/releases/latest");
403403
if (result.Item1 != "未知版本")
404404
{
405405
string latestVersion = result.Item1;
@@ -2443,7 +2443,7 @@ private async Task<string> DetectGitHubProxyAsync(List<string> proxyItems)
24432443
// 遍历随机排序后的代理列表
24442444
foreach (string proxyItem in proxyItems)
24452445
{
2446-
string checkUrl = $"https://{proxyItem}/https://raw.githubusercontent.com/cmliu/SubsCheck-Win-GUI/master/packages.config";
2446+
string checkUrl = $"https://{proxyItem}/https://raw.githubusercontent.com/sinspired/SubsCheck-Win-GUI/master/packages.config";
24472447
Log($"正在测试 GitHub 代理: {proxyItem}", GetRichTextBoxAllLog());
24482448
richTextBoxAllLog.Refresh();
24492449

Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace subs_check.win.gui
1010
static class Program
1111
{
1212
// 定义一个全局唯一的标识符,使用项目名称作为互斥体的名称
13-
private static string appMutexName = "cmliu/SubsCheck-Win-GUI";
13+
private static string appMutexName = "sinspired/SubsCheck-Win-GUI";
1414
private static Mutex mutex;
1515

1616
/// <summary>

about.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

about.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs
3737

3838
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
3939
{
40-
Process.Start("https://github.com/cmliu/SubsCheck-Win-GUI");
40+
Process.Start("https://github.com/sinspired/SubsCheck-Win-GUI");
4141
}
4242

4343
private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
4444
{
45-
Process.Start("https://github.com/beck-8/subs-check");
45+
Process.Start("https://github.com/sinspired/subs-check");
4646
}
4747

4848
private void linkLabel6_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

0 commit comments

Comments
 (0)