Files
clash-verge-rev-lite/src-tauri/src/utils/tmpl.rs
2025-08-05 17:51:26 +03:00

61 lines
1005 B
Rust

//! Some config file template
/// template for new a profile item
pub const ITEM_LOCAL: &str = "# Profile Template for Koala Clash
proxies: []
proxy-groups: []
rules: []
";
/// enhanced profile
pub const ITEM_MERGE: &str = "# Profile Enhancement Merge Template for Koala Clash
profile:
store-selected: true
";
pub const ITEM_MERGE_EMPTY: &str = "# Profile Enhancement Merge Template for Koala Clash
";
/// 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 Koala Clash
prepend: []
append: []
delete: []
";
/// enhanced profile
pub const ITEM_PROXIES: &str = "# Profile Enhancement Proxies Template for Koala Clash
prepend: []
append: []
delete: []
";
/// enhanced profile
pub const ITEM_GROUPS: &str = "# Profile Enhancement Groups Template for Koala Clash
prepend: []
append: []
delete: []
";