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
This commit is contained in:
2025-11-05 17:13:29 +03:00
parent 5d2c66ad25
commit c277866ff3
+2 -2
View File
@@ -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