#!/bin/bash

# Gapify Live Chat Plugin Configuration
# Centralized configuration for packaging scripts

# Plugin Information
PLUGIN_NAME="gapify-ai-customer-communication"
VERSION="1.0.4"
PLUGIN_FILE="gapify-livechat.php"

# Directory Names
TEMP_DIR_WP="gapify-ai-customer-communication-package"
TEMP_DIR_FINAL="gapify-ai-customer-communication-final-package"

# Output File Names
ZIP_NAME_WP="${PLUGIN_NAME}-${VERSION}.zip"
ZIP_NAME_FINAL="${PLUGIN_NAME}-final-${VERSION}.zip"

# Required Files
REQUIRED_FILES=(
    "includes/"
    "languages/"
    "gapify-livechat.php"
    "readme.txt"
    "uninstall.php"
)

# Optional Files
OPTIONAL_FILES=(
    "README.md"
)

# Asset Files (for final distribution)
ASSET_FILES=(
    "assets/icon-*.png"
    "assets/banner-*.png"
    "assets/screenshot-*.png"
)

# Legacy Asset Files (for backward compatibility)
LEGACY_ASSET_FILES=(
    "icon-*.png"
    "banner-*.png"
    "screenshot-*.png"
)

# WordPress.org Settings Page ID
WP_ADMIN_PAGE_ID="settings_page_gapify-ai-customer-communication-settings"
