Update gen-config.sh
This commit is contained in:
parent
e4d9903149
commit
dff9d9ac18
1 changed files with 6 additions and 0 deletions
|
|
@ -29,4 +29,10 @@ cat > config.json << 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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue