mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Fix: avoid update adguardhome time even w/o changes
This commit is contained in:
@@ -379,6 +379,10 @@ export async function fileEqual(linesA: string[], source: AsyncIterable<string>)
|
|||||||
if (lineA[0] === '#' && lineB[0] === '#') {
|
if (lineA[0] === '#' && lineB[0] === '#') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
// adguard conf
|
||||||
|
if (lineA[0] === '!' && lineB[0] === '!') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
lineA[0] === '/'
|
lineA[0] === '/'
|
||||||
&& lineA[1] === '/'
|
&& lineA[1] === '/'
|
||||||
|
|||||||
Reference in New Issue
Block a user