2023-12-21 16:49:21 +08:00
|
|
|
//! Some config file template
|
2022-02-18 23:57:13 +08:00
|
|
|
|
|
|
|
|
/// template for new a profile item
|
2022-03-05 19:04:20 +08: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
|
|
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
prepend-rules: []
|
2022-03-05 19:04:20 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
prepend-rule-providers: {}
|
2024-03-08 11:37:52 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
prepend-proxies: []
|
2022-03-05 19:04:20 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
prepend-proxy-providers: {}
|
2024-03-08 11:37:52 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
prepend-proxy-groups: []
|
2022-03-05 19:04:20 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
append-rules: []
|
2022-03-05 19:04:20 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
append-rule-providers: {}
|
2024-03-08 11:37:52 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
append-proxies: []
|
2022-03-05 19:04:20 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
append-proxy-providers: {}
|
2024-03-08 11:37:52 +08:00
|
|
|
|
2024-04-17 22:56:54 +08:00
|
|
|
append-proxy-groups: []
|
2022-03-05 19:04:20 +08:00
|
|
|
";
|
|
|
|
|
|
|
|
|
|
/// enhanced profile
|
2022-09-11 20:58:55 +08:00
|
|
|
pub const ITEM_SCRIPT: &str = "// Define the `main` function
|
2022-11-18 07:59:53 +08:00
|
|
|
|
2022-03-05 19:04:20 +08:00
|
|
|
function main(params) {
|
|
|
|
|
return params;
|
|
|
|
|
}
|
2022-02-18 23:57:13 +08:00
|
|
|
";
|