Update gen-config.sh

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

View file

@ -29,6 +29,13 @@ cat > config.json << EOF
} }
EOF EOF
if [ ! -d "temp" ]; then
mkdir temp
fi
if [ ! -d "temp/auth" ]; then
mkdir temp/auth
fi
# If doesn't have temp/cookies.json, create it # If doesn't have temp/cookies.json, create it
if [ ! -f "./temp/auth/cookies.json" ]; then if [ ! -f "./temp/auth/cookies.json" ]; then
mkdir temp/auth mkdir temp/auth