feat: support packer config

This commit is contained in:
ReaJason
2026-02-26 22:55:45 +08:00
parent 0d3b56de63
commit 9243070126
85 changed files with 2410 additions and 658 deletions
+8 -2
View File
@@ -43,7 +43,10 @@ export function transformToPostData(formValue: MemShellFormSchema) {
shellConfig,
shellToolConfig,
injectorConfig,
packer: formValue.packingMethod,
packerSpec: {
name: formValue.packingMethod,
config: formValue.packerCustomConfig ?? {},
},
};
}
@@ -70,7 +73,10 @@ export function transformToProbePostData(formValue: ProbeShellFormSchema) {
return {
probeConfig,
probeContentConfig,
packer: formValue.packingMethod,
packerSpec: {
name: formValue.packingMethod,
config: formValue.packerCustomConfig ?? {},
},
};
}