mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-11-16 15:27:46 +00:00
fix utils release
This commit is contained in:
parent
9434cce1fe
commit
08bbd26689
3 changed files with 12 additions and 11 deletions
|
@ -19,25 +19,25 @@ cp CHANGELOG.md /tmp/${FOLDER}/skel/
|
||||||
# download xmrig into directory linux
|
# download xmrig into directory linux
|
||||||
wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-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.21.1-linux-static-x64.tar.gz
|
tar -xf xmrig-6.21.1-linux-static-x64.tar.gz
|
||||||
mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/linux/xmrig/xmrig
|
mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/linux_b/xmrig/xmrig
|
||||||
rm -r xmrig-6.21.1
|
rm -r xmrig-6.21.1
|
||||||
rm xmrig-6.21.1-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.21.1/xmrig-6.21.1-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.21.1-macos-arm64.tar.gz
|
tar -xf xmrig-6.21.1-macos-arm64.tar.gz
|
||||||
mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/macos-arm64/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.21.1
|
rm -r xmrig-6.21.1
|
||||||
rm xmrig-6.21.1-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.21.1/xmrig-6.21.1-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.21.1-macos-x64.tar.gz
|
tar -xf xmrig-6.21.1-macos-x64.tar.gz
|
||||||
mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/macos-x64/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.21.1
|
rm -r xmrig-6.21.1
|
||||||
rm xmrig-6.21.1-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.21.1/xmrig-6.21.1-msvc-win64.zip
|
wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-msvc-win64.zip
|
||||||
unzip xmrig-6.21.1-msvc-win64.zip
|
unzip xmrig-6.21.1-msvc-win64.zip
|
||||||
mv xmrig-6.21.1/xmrig.exe /tmp/${FOLDER}/skel/windows/XMRig/xmrig.exe
|
mv xmrig-6.21.1/xmrig.exe /tmp/${FOLDER}/skel/windows_b/XMRig/xmrig.exe
|
||||||
rm -r xmrig-6.21.1
|
rm -r xmrig-6.21.1
|
||||||
rm xmrig-6.21.1-msvc-win64.zip
|
rm xmrig-6.21.1-msvc-win64.zip
|
||||||
|
|
||||||
|
@ -45,25 +45,25 @@ rm xmrig-6.21.1-msvc-win64.zip
|
||||||
# download p2pool into directory linux
|
# download p2pool into directory linux
|
||||||
wget https://github.com/SChernykh/p2pool/releases/download/v3.10/p2pool-v3.10-linux-x64.tar.gz
|
wget https://github.com/SChernykh/p2pool/releases/download/v3.10/p2pool-v3.10-linux-x64.tar.gz
|
||||||
tar -xf p2pool-v3.10-linux-x64.tar.gz
|
tar -xf p2pool-v3.10-linux-x64.tar.gz
|
||||||
mv p2pool-v3.10-linux-x64/p2pool /tmp/${FOLDER}/skel/linux/p2pool/p2pool
|
mv p2pool-v3.10-linux-x64/p2pool /tmp/${FOLDER}/skel/linux_b/p2pool/p2pool
|
||||||
rm -r p2pool-v3.10-linux-x64
|
rm -r p2pool-v3.10-linux-x64
|
||||||
rm p2pool-v3.10-linux-x64.tar.gz
|
rm p2pool-v3.10-linux-x64.tar.gz
|
||||||
# download p2pool into directory macos-arm64
|
# download p2pool into directory macos-arm64
|
||||||
wget https://github.com/SChernykh/p2pool/releases/download/v3.10/p2pool-v3.10-macos-aarch64.tar.gz
|
wget https://github.com/SChernykh/p2pool/releases/download/v3.10/p2pool-v3.10-macos-aarch64.tar.gz
|
||||||
tar -xf p2pool-v3.10-macos-aarch64.tar.gz
|
tar -xf p2pool-v3.10-macos-aarch64.tar.gz
|
||||||
mv p2pool-v3.10-macos-aarch64/p2pool /tmp/${FOLDER}/skel/macos-arm64/Gupaxx.app/Contents/MacOS/p2pool/p2pool
|
mv p2pool-v3.10-macos-aarch64/p2pool /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/p2pool/p2pool
|
||||||
rm -r p2pool-v3.10-macos-aarch64
|
rm -r p2pool-v3.10-macos-aarch64
|
||||||
rm p2pool-v3.10-macos-aarch64.tar.gz
|
rm p2pool-v3.10-macos-aarch64.tar.gz
|
||||||
# download p2pool into directory macos-x64
|
# download p2pool into directory macos-x64
|
||||||
wget https://github.com/SChernykh/p2pool/releases/download/v3.10/p2pool-v3.10-macos-x64.tar.gz
|
wget https://github.com/SChernykh/p2pool/releases/download/v3.10/p2pool-v3.10-macos-x64.tar.gz
|
||||||
tar -xf p2pool-v3.10-macos-x64.tar.gz
|
tar -xf p2pool-v3.10-macos-x64.tar.gz
|
||||||
mv p2pool-v3.10-macos-x64/p2pool /tmp/${FOLDER}/skel/macos-x64/Gupaxx.app/Contents/MacOS/p2pool/p2pool
|
mv p2pool-v3.10-macos-x64/p2pool /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/p2pool/p2pool
|
||||||
rm -r p2pool-v3.10-macos-x64
|
rm -r p2pool-v3.10-macos-x64
|
||||||
rm p2pool-v3.10-macos-x64.tar.gz
|
rm p2pool-v3.10-macos-x64.tar.gz
|
||||||
# download p2pool into directory windows
|
# download p2pool into directory windows
|
||||||
wget https://github.com/SChernykh/p2pool/releases/download/v3.10/p2pool-v3.10-windows-x64.zip
|
wget https://github.com/SChernykh/p2pool/releases/download/v3.10/p2pool-v3.10-windows-x64.zip
|
||||||
unzip p2pool-v3.10-windows-x64.zip
|
unzip p2pool-v3.10-windows-x64.zip
|
||||||
mv p2pool-v3.10-windows-x64/p2pool.exe /tmp/${FOLDER}/skel/windows/P2Pool/p2pool.exe
|
mv p2pool-v3.10-windows-x64/p2pool.exe /tmp/${FOLDER}/skel/windows_b/P2Pool/p2pool.exe
|
||||||
rm -r p2pool-v3.10-windows-x64
|
rm -r p2pool-v3.10-windows-x64
|
||||||
rm p2pool-v3.10-windows-x64.zip
|
rm p2pool-v3.10-windows-x64.zip
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
[[ -f windows.zip ]]; check "windows zip"
|
[[ -f windows.zip ]]; check "windows zip"
|
||||||
[[ -f macos.zip ]]; check "macos zip"
|
[[ -f macos.zip ]]; check "macos zip"
|
||||||
unzip linux.zip; unzip macos.zip; unzip windows.zip
|
unzip linux.zip; unzip macos.zip; unzip windows.zip
|
||||||
|
tar -xf windows.tar
|
||||||
mv gupaxx.exe skel/windows/Gupaxx.exe
|
mv gupaxx.exe skel/windows/Gupaxx.exe
|
||||||
mv gupaxx_b.exe skel/windows_b/Gupaxx.exe
|
mv gupaxx_b.exe skel/windows_b/Gupaxx.exe
|
||||||
tar -xf linux.tar
|
tar -xf linux.tar
|
||||||
|
@ -26,4 +27,4 @@ rm -r Gupaxx-macos-x64.app_b
|
||||||
rm -r Gupaxx-macos-arm64.app_b
|
rm -r Gupaxx-macos-arm64.app_b
|
||||||
rm linux.zip; rm macos.zip; rm windows.zip
|
rm linux.zip; rm macos.zip; rm windows.zip
|
||||||
# windows unzip only the exe so not tar to delete.
|
# windows unzip only the exe so not tar to delete.
|
||||||
rm linux.tar; rm macos.tar
|
rm linux.tar; rm macos.tar; rm windows.tar
|
||||||
|
|
|
@ -55,8 +55,8 @@ title "Tar Linux"
|
||||||
# give execution permission
|
# give execution permission
|
||||||
chmod +x linux/gupaxx
|
chmod +x linux/gupaxx
|
||||||
chmod +x linux_b/gupaxx
|
chmod +x linux_b/gupaxx
|
||||||
chmod +x linux/p2pool/p2pool
|
chmod +x linux_b/p2pool/p2pool
|
||||||
chmod +x linux/xmrig/xmrig
|
chmod +x linux_b/xmrig/xmrig
|
||||||
mv linux_b "gupaxx-$NEW_VER-linux-x64-bundle"; check "linux -> gupaxx-$NEW_VER-linux-x64-bundle"
|
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 -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
|
# Tar Linux Standalone
|
||||||
|
|
Loading…
Reference in a new issue