fix: take custom input args for xmrig-proxy into account

This commit is contained in:
Cyrix126 2024-09-29 13:22:36 +02:00
parent 2c1f5b88cc
commit 81f70013cb

View file

@ -112,7 +112,11 @@ impl Helper {
let api_port;
let ip;
let port;
// custom args from user input
if !state.arguments.is_empty() {
args.push(state.arguments.clone());
return args;
}
// [Simple]
if state.simple {
// Build the xmrig argument