Skip to content
Snippets Groups Projects
Unverified Commit e1c8f1fe authored by GyDi's avatar GyDi
Browse files

fix: add clash fields

parent 6e19a4ab
No related branches found
No related tags found
No related merge requests found
......@@ -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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment