diff --git a/LogWatcher.cs b/LogWatcher.cs index 1e3113f5..c01f5000 100644 --- a/LogWatcher.cs +++ b/LogWatcher.cs @@ -110,6 +110,11 @@ namespace VRCX foreach (var fileInfo in fileInfos) { + if (DateTime.Compare(DateTime.Today.AddDays(-7), fileInfo.LastWriteTimeUtc) >= 0) + { + continue; + } + if (bias.CompareTo(fileInfo.LastWriteTimeUtc) <= 0) { fileInfo.Refresh();