diff --git a/app/run.sh b/app/run.sh index a6bac7e..d6e628f 100644 --- a/app/run.sh +++ b/app/run.sh @@ -4,6 +4,9 @@ if [ ! -d "temp" ]; then mkdir temp fi +if [ ! -d "temp/auth" ]; then + mkdir temp/auth +fi echo "Debug: Script started at $(date)" >> ./temp/debug.log echo "Debug: Current directory is $(pwd)" >> ./temp/debug.log echo "Debug: User is $(whoami)" >> ./temp/debug.log @@ -16,6 +19,7 @@ cd ${BOT_ROOT} # 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