diff --git a/updateV1.4.18.sh b/updateAmd64.sh similarity index 94% rename from updateV1.4.18.sh rename to updateAmd64.sh index f7d1764..485c978 100644 --- a/updateV1.4.18.sh +++ b/updateAmd64.sh @@ -11,9 +11,9 @@ service ceremonyclient stop # Step 1:Download Binary echo "⏳ Downloading New Release v1.4.18" +cd ~/ceremonyclient git pull git checkout release -mv node-1.4.18-linux-amd64 node # Step 3:Re-Create Ceremonyclient Service echo "⏳ Re-Creating Ceremonyclient Service" @@ -28,7 +28,7 @@ Type=simple Restart=always RestartSec=5s WorkingDirectory=/root/ceremonyclient/node -ExecStart=/root/ceremonyclient/node/node +ExecStart=/root/ceremonyclient/node/node-1.4.18-linux-amd64 [Install] WantedBy=multi-user.target diff --git a/updateDarwinArm64.sh b/updateDarwinArm64.sh new file mode 100644 index 0000000..f6a0976 --- /dev/null +++ b/updateDarwinArm64.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +# Step 0: Welcome +echo "This script is made with ❤️ by 0xOzgur.eth" +echo "⏳Enjoy and sit back while you are upgrading your Quilibrium Node to v1.4.18!" +echo "⏳Processing..." +sleep 10 # Add a 10-second delay + +# Stop the ceremonyclient service +service ceremonyclient stop + +# Step 1:Download Binary +echo "⏳ Downloading New Release v1.4.18" +cd ~/ceremonyclient +git pull +git checkout release + +# Step 3:Re-Create Ceremonyclient Service +echo "⏳ Re-Creating Ceremonyclient Service" +sleep 2 # Add a 2-second delay +rm /lib/systemd/system/ceremonyclient.service +sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null < /dev/null <