mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Fix: correct cloudmounter rules
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user