mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
chore: 填写完cdk后自动检查一次更新
This commit is contained in:
@@ -274,6 +274,12 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase
|
||||
return;
|
||||
}
|
||||
|
||||
if (value.Length == 24)
|
||||
{
|
||||
_ = Instances.VersionUpdateViewModel.VersionUpdateAndAskToRestartAsync();
|
||||
_ = ResourceUpdater.ResourceUpdateAndReloadAsync();
|
||||
}
|
||||
|
||||
value = SimpleEncryptionHelper.Encrypt(value);
|
||||
ConfigurationHelper.SetGlobalValue(ConfigurationKeys.MirrorChyanCdk, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user