mirror of
https://github.com/snltty/linker.git
synced 2025-09-27 13:32:14 +08:00
sync
This commit is contained in:
@@ -4,7 +4,7 @@ namespace linker.messenger.store.file
|
|||||||
{
|
{
|
||||||
public sealed partial class ConfigCommonInfo
|
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 int UpdateIntervalSeconds { get; set; } = 60;
|
||||||
public bool CheckUpdate { get; set; } = true;
|
public bool CheckUpdate { get; set; } = true;
|
||||||
}
|
}
|
||||||
|
@@ -14,6 +14,11 @@ namespace linker.messenger.store.file.updater
|
|||||||
public UpdaterCommonStore(FileConfig fileConfig)
|
public UpdaterCommonStore(FileConfig fileConfig)
|
||||||
{
|
{
|
||||||
this.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)
|
public void SetInterval(int sec)
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
v1.8.5
|
v1.8.5
|
||||||
2025-06-23 17:42:48
|
2025-06-24 17:14:47
|
||||||
1. 一些累计更新
|
1. 一些累计更新
|
||||||
2. 备用信标服务器
|
2. 备用信标服务器
|
||||||
3. 设置默认中继节点
|
3. 设置默认中继节点
|
||||||
|
Reference in New Issue
Block a user