From f573015254bcd07ba8662fbf70fc2fb9aafeef6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=94=EB=83=A5?= Date: Sun, 2 Feb 2025 14:15:09 +0900 Subject: [PATCH] Update run.sh --- app/run.sh | 4 ++++ 1 file changed, 4 insertions(+) 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