Merge pull request #27 from 0xOzgur/v2.0

V2.0
This commit is contained in:
0xOzgur 2024-10-14 11:10:13 +03:00 committed by GitHub
commit 297423fc32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 32 additions and 0 deletions

View File

@ -87,6 +87,22 @@ cd ~/ceremonyclient/
# git remote set-url origin https://github.com/QuilibriumNetwork/ceremonyclient.git || git remote set-url origin https://source.quilibrium.com/quilibrium/ceremonyclient.git
git checkout release
get_os_arch() {
local arch=$(uname -m)
local os=$(uname -s | tr '[:upper:]' '[:lower:]')
case $arch in
x86_64)
arch="amd64"
;;
aarch64)
arch="arm64"
;;
esac
echo "${os}-${arch}"
}
# Get the current OS and architecture
OS_ARCH=$(get_os_arch)

View File

@ -43,6 +43,22 @@ git checkout release
echo "✅ Downloaded the latest changes successfully."
echo
get_os_arch() {
local arch=$(uname -m)
local os=$(uname -s | tr '[:upper:]' '[:lower:]')
case $arch in
x86_64)
arch="amd64"
;;
aarch64)
arch="arm64"
;;
esac
echo "${os}-${arch}"
}
# Get the current OS and architecture
OS_ARCH=$(get_os_arch)