mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
fix: add clash fields
This commit is contained in:
parent
6e19a4ab8b
commit
e1c8f1fed9
|
@ -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> {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user