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 api_port;
let ip; let ip;
let port; let port;
// custom args from user input
if !state.arguments.is_empty() {
args.push(state.arguments.clone());
return args;
}
// [Simple] // [Simple]
if state.simple { if state.simple {
// Build the xmrig argument // Build the xmrig argument