mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
fix: add clash fields
This commit is contained in:
@@ -20,7 +20,7 @@ pub const DEFAULT_FIELDS: [&str; 5] = [
|
|||||||
"rule-providers",
|
"rule-providers",
|
||||||
];
|
];
|
||||||
|
|
||||||
pub const OTHERS_FIELDS: [&str; 21] = [
|
pub const OTHERS_FIELDS: [&str; 23] = [
|
||||||
"tun",
|
"tun",
|
||||||
"dns",
|
"dns",
|
||||||
"ebpf",
|
"ebpf",
|
||||||
@@ -28,6 +28,7 @@ pub const OTHERS_FIELDS: [&str; 21] = [
|
|||||||
"script",
|
"script",
|
||||||
"profile",
|
"profile",
|
||||||
"payload",
|
"payload",
|
||||||
|
"tunnels", // clash dev
|
||||||
"auto-redir",
|
"auto-redir",
|
||||||
"experimental",
|
"experimental",
|
||||||
"interface-name",
|
"interface-name",
|
||||||
@@ -42,6 +43,7 @@ pub const OTHERS_FIELDS: [&str; 21] = [
|
|||||||
"sub-rules", // meta
|
"sub-rules", // meta
|
||||||
"geodata-mode", // meta
|
"geodata-mode", // meta
|
||||||
"tcp-concurrent", // meta
|
"tcp-concurrent", // meta
|
||||||
|
"enable-process", // meta
|
||||||
];
|
];
|
||||||
|
|
||||||
pub fn use_clash_fields() -> Vec<String> {
|
pub fn use_clash_fields() -> Vec<String> {
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ export const OTHERS_FIELDS = [
|
|||||||
"script",
|
"script",
|
||||||
"profile",
|
"profile",
|
||||||
"payload",
|
"payload",
|
||||||
|
"tunnels", // clash dev
|
||||||
"auto-redir",
|
"auto-redir",
|
||||||
"experimental",
|
"experimental",
|
||||||
"interface-name",
|
"interface-name",
|
||||||
@@ -40,4 +41,5 @@ export const OTHERS_FIELDS = [
|
|||||||
"sub-rules", // meta
|
"sub-rules", // meta
|
||||||
"geodata-mode", // meta
|
"geodata-mode", // meta
|
||||||
"tcp-concurrent", // meta
|
"tcp-concurrent", // meta
|
||||||
|
"enable-process", // meta
|
||||||
] as const;
|
] as const;
|
||||||
|
|||||||
Reference in New Issue
Block a user