打开软件时自动更新订阅;

This commit is contained in:
AmazingDM
2020-09-04 11:11:59 +08:00
parent e3bc370019
commit a47395cc6c
6 changed files with 44 additions and 5 deletions

View File

@@ -83,6 +83,16 @@ namespace Netch.Forms
CheckUpdate();
}
});
Task.Run(() =>
{
// 检查订阅更新
if (Global.Settings.UpdateSubscribeatWhenOpened)
{
UpdateServersFromSubscribe();
}
});
}
private void OnCalled(object sender, OnlyInstance.Commands e)