mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 16:33:44 +08:00
64 lines
1.0 KiB
Rust
64 lines
1.0 KiB
Rust
//! Some config file template
|
|
|
|
/// template for new a profile item
|
|
pub const ITEM_LOCAL: &str = "# Profile Template for Clash Verge
|
|
|
|
proxies: []
|
|
|
|
proxy-groups: []
|
|
|
|
rules: []
|
|
";
|
|
|
|
/// enhanced profile
|
|
pub const ITEM_MERGE: &str = "# Profile Enhancement Merge Template for Clash Verge
|
|
|
|
profile:
|
|
store-selected: true
|
|
|
|
dns:
|
|
use-system-hosts: false
|
|
";
|
|
|
|
pub const ITEM_MERGE_EMPTY: &str = "# Profile Enhancement Merge Template for Clash Verge
|
|
|
|
";
|
|
|
|
/// enhanced profile
|
|
pub const ITEM_SCRIPT: &str = "// Define main function (script entry)
|
|
|
|
function main(config, profileName) {
|
|
return config;
|
|
}
|
|
";
|
|
|
|
/// enhanced profile
|
|
pub const ITEM_RULES: &str = "# Profile Enhancement Rules Template for Clash Verge
|
|
|
|
prepend: []
|
|
|
|
append: []
|
|
|
|
delete: []
|
|
";
|
|
|
|
/// enhanced profile
|
|
pub const ITEM_PROXIES: &str = "# Profile Enhancement Proxies Template for Clash Verge
|
|
|
|
prepend: []
|
|
|
|
append: []
|
|
|
|
delete: []
|
|
";
|
|
|
|
/// enhanced profile
|
|
pub const ITEM_GROUPS: &str = "# Profile Enhancement Groups Template for Clash Verge
|
|
|
|
prepend: []
|
|
|
|
append: []
|
|
|
|
delete: []
|
|
";
|