mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 19:55:41 +08:00
feat: add meta feature
This commit is contained in:
1 parent
ee2abd415e
commit
58d6985080
2 files changed
+9
-3
No files matched your search
@@ -99,8 +99,14 @@ impl IVerge {
|
||||
|
||||
pub fn template() -> Self {
|
||||
Self {
|
||||
clash_core: Some("clash".into()),
|
||||
language: Some("en".into()),
|
||||
clash_core: match cfg!(feature = "default-meta") {
|
||||
false => Some("clash".into()),
|
||||
true => Some("clash-meta".into()),
|
||||
},
|
||||
language: match cfg!(feature = "default-meta") {
|
||||
false => Some("en".into()),
|
||||
true => Some("zh".into()),
|
||||
},
|
||||
theme_mode: Some("system".into()),
|
||||
theme_blur: Some(false),
|
||||
traffic_graph: Some(true),
|
||||
|
||||
Reference in new issue
Block a user