Fix: avoid update adguardhome time even w/o changes

This commit is contained in:
SukkaW 2025-01-10 01:18:11 +08:00
parent f51cea7547
commit 8d4c927c23

View File

@ -379,6 +379,10 @@ export async function fileEqual(linesA: string[], source: AsyncIterable<string>)
if (lineA[0] === '#' && lineB[0] === '#') {
continue;
}
// adguard conf
if (lineA[0] === '!' && lineB[0] === '!') {
continue;
}
if (
lineA[0] === '/'
&& lineA[1] === '/'