mirror of
https://github.com/HolographicHat/Yae.git
synced 2026-03-20 19:39:47 +08:00
Merge pull request #85 from BTMuli/master
⚡️ 延长刷新间隔,Y/YES均可使用旧数据(大小写不敏感)
This commit is contained in:
@@ -37,9 +37,9 @@ try {
|
||||
data = AchievementAllDataNotify.Parser.ParseFrom(historyCache.Read().Content);
|
||||
} catch (Exception) { /* ignored */ }
|
||||
|
||||
if (historyCache.LastWriteTime.AddMinutes(10) > DateTime.UtcNow && data != null) {
|
||||
if (historyCache.LastWriteTime.AddMinutes(60) > DateTime.UtcNow && data != null) {
|
||||
Console.WriteLine(App.UsePreviousData);
|
||||
if (Console.ReadLine() == "yes") {
|
||||
if (Console.ReadLine()?.ToUpper() is "Y" or "YES") {
|
||||
Export.Choose(data);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user