Update gen-config.sh

This commit is contained in:
암냥 2025-02-14 01:05:02 +09:00 committed by GitHub
commit cd82ac9084
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,4 +29,10 @@ cat > config.json << EOF
} }
EOF EOF
# If doesn't have temp/cookies.json, create it
if [ ! -f "./temp/auth/cookies.json" ]; then
mkdir temp/auth
python3 library/init-auth.py
fi
echo "Successfully generated config.json" echo "Successfully generated config.json"