From 00e5d9517d33812bb1454276c1cea70e3d64cdd2 Mon Sep 17 00:00:00 2001 From: xnico31 <54291310+xnico31@users.noreply.github.com> Date: Fri, 10 Jan 2025 11:59:01 +0100 Subject: [PATCH] Update install.sh --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 73cecb1..77e14fc 100755 --- a/install.sh +++ b/install.sh @@ -13,6 +13,9 @@ login=$5 private_key=$6 client_version=$7 +branch="main" + +# Vérifier si un 8ème argument est passé et correspond à "testnet" if [ "$#" -eq 8 ] && [ "$8" = "testnet" ]; then branch="test" fi