From cd82ac9084d11015ba494f167447ea3b3c75aa75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=95=94=EB=83=A5?= Date: Fri, 14 Feb 2025 01:05:02 +0900 Subject: [PATCH] Update gen-config.sh --- app/gen-config.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/gen-config.sh b/app/gen-config.sh index cf13f8a..b623106 100644 --- a/app/gen-config.sh +++ b/app/gen-config.sh @@ -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"