bugfix: clear arguments slice of command after injecting variables

This commit is contained in:
Baipyrus 2024-10-31 18:03:31 +01:00
parent a69abda660
commit 56a6df9259

View File

@ -21,6 +21,8 @@ func processVars(cmd *util.Command, isVariableType bool) {
for _, arg := range cmd.Arguments {
cmd.Name = strings.Replace(cmd.Name, "$PRSW_ARG", arg, 1)
}
cmd.Arguments = nil
}
func injectProxy(cmd *util.Command, variant *util.Variant, proxyServer string) {