chore: 添加强制使用 Github 进行版本更新

This commit is contained in:
uye
2025-02-24 23:34:01 +08:00
parent aac930bdb4
commit 7a34a175e6
9 changed files with 36 additions and 7 deletions

View File

@@ -252,6 +252,18 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase
}
}
private bool _forceGithubGlobalSource = Convert.ToBoolean(ConfigurationHelper.GetGlobalValue(ConfigurationKeys.ForceGithubGlobalSource, bool.FalseString));
public bool ForceGithubGlobalSource
{
get => _forceGithubGlobalSource;
set
{
SetAndNotify(ref _forceGithubGlobalSource, value);
ConfigurationHelper.SetGlobalValue(ConfigurationKeys.ForceGithubGlobalSource, value.ToString());
}
}
private string _mirrorChyanCdk = SimpleEncryptionHelper.Decrypt(ConfigurationHelper.GetGlobalValue(ConfigurationKeys.MirrorChyanCdk, string.Empty));
public string MirrorChyanCdk