mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 19:08:42 +08:00
feat: add profile name param for script
This commit is contained in:
1 parent
5e6d8873b9
commit
e25185b9b8
5 files changed
+21
-9
No files matched your search
@@ -27,7 +27,7 @@ pub const ITEM_MERGE_EMPTY: &str = "# Profile Enhancement Merge Template for Cla
|
||||
/// enhanced profile
|
||||
pub const ITEM_SCRIPT: &str = "// Define main function (script entry)
|
||||
|
||||
function main(config) {
|
||||
function main(config, profileName) {
|
||||
return config;
|
||||
}
|
||||
";
|
||||
|
||||
Reference in new issue
Block a user