mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 17:50:34 +08:00
Fix: correct cloudmounter rules
This commit is contained in:
parent
0a974c9e9f
commit
123576b692
@ -12,7 +12,7 @@ export const buildCloudMounterRules = task(import.meta.path, async () => {
|
||||
|
||||
const results = DOMAINS.flatMap(domain => {
|
||||
return PROCESS_NAMES.map(process => {
|
||||
return `AND,((DOMAIN-SUFFIX,${domain}), (PROCESS-NAME, ${process}))`;
|
||||
return `AND,((${domain}),(PROCESS-NAME,${process}))`;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ export const buildCommon = task(import.meta.path, async () => {
|
||||
}
|
||||
if (
|
||||
relativePath.startsWith('ip/')
|
||||
|| relativePath.startsWith('non_ip/')
|
||||
|| relativePath.startsWith('non_ip/')
|
||||
) {
|
||||
promises.push(transformRuleset(entry.fullpath(), relativePath));
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user