2022-02-18 18:57:13 +03:00
|
|
|
///! Some config file template
|
|
|
|
|
|
|
|
/// template for new a profile item
|
2022-03-05 14:04:20 +03:00
|
|
|
pub const ITEM_LOCAL: &str = "# Profile Template for clash verge
|
|
|
|
|
|
|
|
proxies:
|
|
|
|
|
|
|
|
proxy-groups:
|
|
|
|
|
|
|
|
rules:
|
|
|
|
";
|
|
|
|
|
|
|
|
/// enhanced profile
|
|
|
|
pub const ITEM_MERGE: &str = "# Merge Template for clash verge
|
|
|
|
# The `Merge` format used to enhance profile
|
|
|
|
|
|
|
|
prepend-rules:
|
|
|
|
|
|
|
|
prepend-proxies:
|
|
|
|
|
|
|
|
prepend-proxy-groups:
|
|
|
|
|
|
|
|
append-rules:
|
|
|
|
|
|
|
|
append-proxies:
|
|
|
|
|
|
|
|
append-proxy-groups:
|
|
|
|
";
|
|
|
|
|
|
|
|
/// enhanced profile
|
2022-09-11 15:58:55 +03:00
|
|
|
pub const ITEM_SCRIPT: &str = "// Define the `main` function
|
2022-11-18 02:59:53 +03:00
|
|
|
|
2022-03-05 14:04:20 +03:00
|
|
|
function main(params) {
|
|
|
|
return params;
|
|
|
|
}
|
2022-02-18 18:57:13 +03:00
|
|
|
";
|