Merge pull request #85 from BTMuli/master

️ 延长刷新间隔,Y/YES均可使用旧数据(大小写不敏感)
This commit is contained in:
HolographicHat
2024-02-06 23:27:16 +08:00
committed by GitHub

View File

@@ -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;
}