From b49d3f31ab1f754eb6b12861c6c64f66ad618e23 Mon Sep 17 00:00:00 2001 From: Cyrix126 Date: Fri, 28 Jun 2024 12:18:34 +0200 Subject: [PATCH] fix: right default path of xmrig-proxy --- src/disk/consts.rs | 2 +- utils/package.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/disk/consts.rs b/src/disk/consts.rs index 4d3e29c..bdb8730 100644 --- a/src/disk/consts.rs +++ b/src/disk/consts.rs @@ -56,7 +56,7 @@ pub const DEFAULT_P2POOL_PATH: &str = "p2pool/p2pool"; pub const DEFAULT_XMRIG_PATH: &str = "xmrig/xmrig"; #[cfg(target_os = "linux")] #[cfg(not(feature = "distro"))] -pub const DEFAULT_XMRIG_PROXY_PATH: &str = "xmrig/xmrig-proxy"; +pub const DEFAULT_XMRIG_PROXY_PATH: &str = "xmrig-proxy/xmrig-proxy"; #[cfg(target_os = "linux")] #[cfg(feature = "distro")] pub const DEFAULT_P2POOL_PATH: &str = "/usr/bin/p2pool"; diff --git a/utils/package.sh b/utils/package.sh index 8df31e5..5723699 100755 --- a/utils/package.sh +++ b/utils/package.sh @@ -39,7 +39,7 @@ title "macOS-x64 folder check" [[ -d macos-x64_b/Gupaxx.app ]]; check "macos-x64_b/Gupaxx.app" [[ -f macos-x64_b/Gupaxx.app/Contents/MacOS/p2pool/p2pool ]]; check "macos-x64_b/p2pool/p2pool" [[ -f macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig ]]; check "macos-x64_b/xmrig/xmrig" -[[ -f macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy ]]; check "macos-x64_b/xmrig/xmrig-proxy" +[[ -f macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy ]]; check "macos-x64_b/xmrig-proxy/xmrig-proxy" title "macOS-arm64 folder check" [[ -d macos-arm64/Gupaxx.app ]]; check "macos-arm64/Gupaxx.app" [[ -d macos-arm64_b/Gupaxx.app ]]; check "macos-arm64_b/Gupaxx.app" @@ -62,7 +62,7 @@ chmod +x linux/gupaxx chmod +x linux_b/gupaxx chmod +x linux_b/p2pool/p2pool chmod +x linux_b/xmrig/xmrig -chmod +x linux_b/xmrig/xmrig-proxy +chmod +x linux_b/xmrig-proxy/xmrig-proxy mv linux_b "gupaxx-$NEW_VER-linux-x64-bundle"; check "linux -> gupaxx-$NEW_VER-linux-x64-bundle" tar -czpf "gupaxx-${NEW_VER}-linux-x64-bundle.tar.gz" "gupaxx-$NEW_VER-linux-x64-bundle" --owner=lm --group=lm ; check "tar linux-bundle" # Tar Linux Standalone