Merge branch 'clash-dev' into Dev

This commit is contained in:
Clash-Mini
2022-01-25 15:05:24 +08:00
10 changed files with 251 additions and 9 deletions

View File

@ -102,6 +102,7 @@ func (f *fetcher) Update() (interface{}, bool, error) {
hash := md5.Sum(buf)
if bytes.Equal(f.hash[:], hash[:]) {
f.updatedAt = &now
os.Chtimes(f.vehicle.Path(), now, now)
return nil, true, nil
}