From 061f27c17ef92d9c1d5f9a40474c8712316550c9 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 29 Jun 2025 02:04:53 -0400 Subject: [PATCH] Update dir for json creation --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 973632d..9f15a41 100644 --- a/install.sh +++ b/install.sh @@ -53,13 +53,13 @@ create_config_json() { }' # Create data folder if it doesn't exist - mkdir -p ./data + mkdir -p $(pwd)/data # Write the content to config.json - echo "$config_content" > ./data/config.json + echo "$config_content" > $(pwd)/data/config.json # Check if the file was successfully created - if [ -f "config.json" ]; then + if [ -f "$(pwd)/config.json" ]; then echo -e "${GREEN}Successfully created 'config.json'.${NC}" echo -e "${GREEN}Content of config.json:${NC}" cat config.json