fix: add clash fields

This commit is contained in:
GyDi 2022-11-24 10:46:21 +08:00
parent 6e19a4ab8b
commit e1c8f1fed9
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A
2 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,7 @@ pub const DEFAULT_FIELDS: [&str; 5] = [
"rule-providers",
];
pub const OTHERS_FIELDS: [&str; 21] = [
pub const OTHERS_FIELDS: [&str; 23] = [
"tun",
"dns",
"ebpf",
@ -28,6 +28,7 @@ pub const OTHERS_FIELDS: [&str; 21] = [
"script",
"profile",
"payload",
"tunnels", // clash dev
"auto-redir",
"experimental",
"interface-name",
@ -42,6 +43,7 @@ pub const OTHERS_FIELDS: [&str; 21] = [
"sub-rules", // meta
"geodata-mode", // meta
"tcp-concurrent", // meta
"enable-process", // meta
];
pub fn use_clash_fields() -> Vec<String> {

View File

@ -26,6 +26,7 @@ export const OTHERS_FIELDS = [
"script",
"profile",
"payload",
"tunnels", // clash dev
"auto-redir",
"experimental",
"interface-name",
@ -40,4 +41,5 @@ export const OTHERS_FIELDS = [
"sub-rules", // meta
"geodata-mode", // meta
"tcp-concurrent", // meta
"enable-process", // meta
] as const;