feat: add profile name param for script

This commit is contained in:
MystiPanda
2024-07-04 23:11:54 +08:00
parent 5e6d8873b9
commit e25185b9b8
5 changed files with 21 additions and 9 deletions

View File

@@ -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;
}
";