This commit is contained in:
snltty
2025-06-24 17:14:47 +08:00
parent abfea2bbd2
commit 89c9806d97
3 changed files with 7 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ namespace linker.messenger.store.file
{
public sealed partial class ConfigCommonInfo
{
public string UpdateUrl { get; set; } = "https://static.qbcode.cn/downloads/linker";
public string UpdateUrl { get; set; } = "https://static.snltty.com/downloads/linker";
public int UpdateIntervalSeconds { get; set; } = 60;
public bool CheckUpdate { get; set; } = true;
}

View File

@@ -14,6 +14,11 @@ namespace linker.messenger.store.file.updater
public UpdaterCommonStore(FileConfig fileConfig)
{
this.fileConfig = fileConfig;
if (fileConfig.Data.Common.UpdateUrl.Contains("qbcode.cn"))
{
fileConfig.Data.Common.UpdateUrl = fileConfig.Data.Common.UpdateUrl.Replace("qbcode.cn", "snltty.com");
}
}
public void SetInterval(int sec)

View File

@@ -1,5 +1,5 @@
v1.8.5
2025-06-23 17:42:48
2025-06-24 17:14:47
1. 一些累计更新
2. 备用信标服务器
3. 设置默认中继节点