Update install.sh

This commit is contained in:
xnico31 2025-01-10 11:59:01 +01:00
parent 4b90d409fe
commit 00e5d9517d

View File

@ -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