From c277866ff3f326a7b2f4e3c7d59b0b6bb3ff2265 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Wed, 5 Nov 2025 17:13:29 +0300 Subject: [PATCH] feat: Use shallow clone for faster and more reliable downloads - Add --depth 1 flag to git clone commands - Reduces download size significantly - Fixes network timeout issues with large repositories - Improves user experience for slow connections --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index bd18a44..fd36c26 100755 --- a/setup.sh +++ b/setup.sh @@ -216,7 +216,7 @@ setup_sdk() { git pull origin main || git pull origin master else echo "Cloning pezkuwi-sdk from GitHub..." - git clone https://github.com/pezkuwichain/pezkuwi-sdk.git + git clone --depth 1 https://github.com/pezkuwichain/pezkuwi-sdk.git cd pezkuwi-sdk fi @@ -243,7 +243,7 @@ setup_frontend() { else echo "Cloning DKSweb from GitHub..." # TODO: Replace with actual repository URL - git clone https://github.com/pezkuwichain/DKSweb.git + git clone --depth 1 https://github.com/pezkuwichain/DKSweb.git cd DKSweb fi