diff --git a/src/app/panels/middle/xmrig_proxy.rs b/src/app/panels/middle/xmrig_proxy.rs index 92f2cb2..38aabe9 100644 --- a/src/app/panels/middle/xmrig_proxy.rs +++ b/src/app/panels/middle/xmrig_proxy.rs @@ -14,7 +14,7 @@ use crate::utils::macros::lock; use crate::{ GREEN, LIGHT_GRAY, LIST_ADD, LIST_CLEAR, LIST_DELETE, LIST_SAVE, RED, SPACE, XMRIG_API_IP, XMRIG_API_PORT, XMRIG_IP, XMRIG_KEEPALIVE, XMRIG_NAME, XMRIG_PORT, XMRIG_PROXY_ARGUMENTS, - XMRIG_PROXY_INPUT, XMRIG_PROXY_REDIRECT, XMRIG_RIG, XMRIG_TLS, + XMRIG_PROXY_INPUT, XMRIG_PROXY_REDIRECT, XMRIG_PROXY_URL, XMRIG_RIG, XMRIG_TLS, }; impl XmrigProxy { @@ -32,6 +32,14 @@ impl XmrigProxy { let height = size.y; let space_h = height / 48.0; let text_edit = size.y / 25.0; + ui.vertical_centered(|ui| { + ui.add_space(space_h); + ui.style_mut().override_text_style = Some(TextStyle::Heading); + ui.hyperlink_to("XMRig-Proxy", XMRIG_PROXY_URL); + ui.style_mut().override_text_style = Some(TextStyle::Body); + ui.add(Label::new("High performant proxy for your miners")); + ui.add_space(space_h); + }); // console output for log debug!("XvB Tab | Rendering [Console]"); ui.group(|ui| { diff --git a/src/utils/constants.rs b/src/utils/constants.rs index 54a74c8..3b454e2 100644 --- a/src/utils/constants.rs +++ b/src/utils/constants.rs @@ -445,6 +445,7 @@ pub const XMRIG_PATH_NOT_FILE: &str = "XMRig binary not found at the given PATH pub const XMRIG_PATH_NOT_VALID: &str = "XMRig binary at the given PATH in the Gupaxxtab doesn't look like XMRig! To fix: goto the [Gupaxx Advanced] tab, select [Open] and specify where XMRig is located."; pub const XMRIG_PATH_OK: &str = "XMRig was found at the given PATH"; pub const XMRIG_PATH_EMPTY: &str = "XMRig PATH is empty! To fix: goto the [GupaxxAdvanced] tab, select [Open] and specify where XMRig is located."; +pub const XMRIG_PROXY_URL: &str = "https://github.com/xmrig/xmrig-proxy"; // XvB pub const XVB_HELP: &str = "You need to register an account by clicking on the link above to get your token with the same p2pool XMR address you use for payment.";