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