Update gen-config.sh
This commit is contained in:
parent
d035da6bfa
commit
cd82ac9084
1 changed files with 6 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue