fix: revert xmrig version since api syntax still corrupted on newer version

This commit is contained in:
Cyrix126 2024-08-29 15:51:15 +02:00
parent bbeea51882
commit 6161464a32
2 changed files with 42 additions and 42 deletions

View file

@ -17,8 +17,8 @@
pub const GUPAX_VERSION: &str = concat!("v", env!("CARGO_PKG_VERSION")); // e.g: v1.0.0 pub const GUPAX_VERSION: &str = concat!("v", env!("CARGO_PKG_VERSION")); // e.g: v1.0.0
pub const P2POOL_VERSION: &str = "v4.1"; pub const P2POOL_VERSION: &str = "v4.1";
pub const XMRIG_VERSION: &str = "v6.22.0"; pub const XMRIG_VERSION: &str = "v6.21.1";
pub const XMRIG_PROXY_VERSION: &str = "v6.22.0"; pub const XMRIG_PROXY_VERSION: &str = "v6.21.1";
pub const COMMIT: &str = env!("COMMIT"); // set in build.rs pub const COMMIT: &str = env!("COMMIT"); // set in build.rs
// e.g: Gupax_v1_0_0 // e.g: Gupax_v1_0_0
// Would have been [Gupax_v1.0.0] but P2Pool truncates everything after [.] // Would have been [Gupax_v1.0.0] but P2Pool truncates everything after [.]

View file

@ -17,55 +17,55 @@ cp CHANGELOG.md /tmp/${FOLDER}/skel/
## Download XMRig Binaries ## Download XMRig Binaries
# download xmrig into directory linux # download xmrig into directory linux
wget https://github.com/xmrig/xmrig/releases/download/v6.22.0/xmrig-6.22.0-linux-static-x64.tar.gz wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-linux-static-x64.tar.gz
tar -xf xmrig-6.22.0-linux-static-x64.tar.gz tar -xf xmrig-6.21.1-linux-static-x64.tar.gz
mv xmrig-6.22.0/xmrig /tmp/${FOLDER}/skel/linux_b/xmrig/xmrig mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/linux_b/xmrig/xmrig
rm -r xmrig-6.22.0 rm -r xmrig-6.21.1
rm xmrig-6.22.0-linux-static-x64.tar.gz rm xmrig-6.21.1-linux-static-x64.tar.gz
# download xmrig into directory macos-arm64 # download xmrig into directory macos-arm64
wget https://github.com/xmrig/xmrig/releases/download/v6.22.0/xmrig-6.22.0-macos-arm64.tar.gz wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-macos-arm64.tar.gz
tar -xf xmrig-6.22.0-macos-arm64.tar.gz tar -xf xmrig-6.21.1-macos-arm64.tar.gz
mv xmrig-6.22.0/xmrig /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig
rm -r xmrig-6.22.0 rm -r xmrig-6.21.1
rm xmrig-6.22.0-macos-arm64.tar.gz rm xmrig-6.21.1-macos-arm64.tar.gz
# download xmrig into directory macos-x64 # download xmrig into directory macos-x64
wget https://github.com/xmrig/xmrig/releases/download/v6.22.0/xmrig-6.22.0-macos-x64.tar.gz wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-macos-x64.tar.gz
tar -xf xmrig-6.22.0-macos-x64.tar.gz tar -xf xmrig-6.21.1-macos-x64.tar.gz
mv xmrig-6.22.0/xmrig /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig
rm -r xmrig-6.22.0 rm -r xmrig-6.21.1
rm xmrig-6.22.0-macos-x64.tar.gz rm xmrig-6.21.1-macos-x64.tar.gz
# download xmrig into directory windows # download xmrig into directory windows
wget https://github.com/xmrig/xmrig/releases/download/v6.22.0/xmrig-6.22.0-msvc-win64.zip wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-msvc-win64.zip
unzip xmrig-6.22.0-msvc-win64.zip unzip xmrig-6.21.1-msvc-win64.zip
mv xmrig-6.22.0/xmrig.exe /tmp/${FOLDER}/skel/windows_b/XMRig/xmrig.exe mv xmrig-6.21.1/xmrig.exe /tmp/${FOLDER}/skel/windows_b/XMRig/xmrig.exe
rm -r xmrig-6.22.0 rm -r xmrig-6.21.1
rm xmrig-6.22.0-msvc-win64.zip rm xmrig-6.21.1-msvc-win64.zip
## Download XMRig-Proxy Binaries ## Download XMRig-Proxy Binaries
wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.22.0/xmrig-proxy-6.22.0-jammy-x64.tar.gz wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.21.1/xmrig-proxy-6.21.1-jammy-x64.tar.gz
tar -xf xmrig-proxy-6.22.0-jammy-x64.tar.gz tar -xf xmrig-proxy-6.21.1-jammy-x64.tar.gz
mv xmrig-proxy-6.22.0/xmrig-proxy /tmp/${FOLDER}/skel/linux_b/xmrig-proxy/xmrig-proxy mv xmrig-proxy-6.21.1/xmrig-proxy /tmp/${FOLDER}/skel/linux_b/xmrig-proxy/xmrig-proxy
rm -r xmrig-proxy-6.22.0 rm -r xmrig-proxy-6.21.1
rm xmrig-proxy-6.22.0-jammy-x64.tar.gz rm xmrig-proxy-6.21.1-jammy-x64.tar.gz
## no release for arm64 mac-osx xmrig-proxy, todo make CI build it. ## no release for arm64 mac-osx xmrig-proxy, todo make CI build it.
# download xmrig into directory macos-arm64 # download xmrig into directory macos-arm64
# wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.22.0/xmrig-proxy-6.22.0-macos-arm64.tar.gz # wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.21.1/xmrig-proxy-6.21.1-macos-arm64.tar.gz
# tar -xf xmrig-proxy-6.22.0-macos-arm64.tar.gz # tar -xf xmrig-proxy-6.21.1-macos-arm64.tar.gz
# mv xmrig-proxy-6.22.0/xmrig-proxy /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy # mv xmrig-proxy-6.21.1/xmrig-proxy /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy
# rm -r xmrig-proxy-6.22.0 # rm -r xmrig-proxy-6.21.1
# rm xmrig-proxy-6.22.0-macos-arm64.tar.gz # rm xmrig-proxy-6.21.1-macos-arm64.tar.gz
# download xmrig into directory macos-x64 # download xmrig into directory macos-x64
wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.22.0/xmrig-proxy-6.22.0-macos-x64.tar.gz wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.21.1/xmrig-proxy-6.21.1-macos-x64.tar.gz
tar -xf xmrig-proxy-6.22.0-macos-x64.tar.gz tar -xf xmrig-proxy-6.21.1-macos-x64.tar.gz
mv xmrig-proxy-6.22.0/xmrig-proxy /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy mv xmrig-proxy-6.21.1/xmrig-proxy /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy
rm -r xmrig-proxy-6.22.0 rm -r xmrig-proxy-6.21.1
rm xmrig-proxy-6.22.0-macos-x64.tar.gz rm xmrig-proxy-6.21.1-macos-x64.tar.gz
# download xmrig into directory windows # download xmrig into directory windows
wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.22.0/xmrig-proxy-6.22.0-msvc-win64.zip wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.21.1/xmrig-proxy-6.21.1-msvc-win64.zip
unzip xmrig-proxy-6.22.0-msvc-win64.zip unzip xmrig-proxy-6.21.1-msvc-win64.zip
mv xmrig-proxy-6.22.0/xmrig-proxy.exe /tmp/${FOLDER}/skel/windows_b/XMRig-Proxy/xmrig-proxy.exe mv xmrig-proxy-6.21.1/xmrig-proxy.exe /tmp/${FOLDER}/skel/windows_b/XMRig-Proxy/xmrig-proxy.exe
rm -r xmrig-proxy-6.22.0 rm -r xmrig-proxy-6.21.1
rm xmrig-proxy-6.22.0-msvc-win64.zip rm xmrig-proxy-6.21.1-msvc-win64.zip
## Download P2Pool Binaries ## Download P2Pool Binaries
# download p2pool into directory linux # download p2pool into directory linux