mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-23 15:31:53 +08:00
feat: support packer config
This commit is contained in:
@@ -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 ?? {},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user