mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 10:32:19 +08:00
chore: 添加强制使用 Github 进行版本更新
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user