diff --git a/src-tauri/src/config/field.rs b/src-tauri/src/config/field.rs index c65024c..7105467 100644 --- a/src-tauri/src/config/field.rs +++ b/src-tauri/src/config/field.rs @@ -20,7 +20,7 @@ pub const DEFAULT_FIELDS: [&str; 5] = [ "rule-providers", ]; -pub const OTHERS_FIELDS: [&str; 20] = [ +pub const OTHERS_FIELDS: [&str; 21] = [ "tun", "dns", "ebpf", @@ -39,6 +39,7 @@ pub const OTHERS_FIELDS: [&str; 20] = [ "bind-address", "authentication", "sniffer", // meta + "sub-rules", // meta "geodata-mode", // meta "tcp-concurrent", // meta ]; diff --git a/src/utils/clash-fields.ts b/src/utils/clash-fields.ts index f0c9bfb..9065b49 100644 --- a/src/utils/clash-fields.ts +++ b/src/utils/clash-fields.ts @@ -37,6 +37,7 @@ export const OTHERS_FIELDS = [ "bind-address", "authentication", "sniffer", // meta + "sub-rules", // meta "geodata-mode", // meta "tcp-concurrent", // meta ] as const;