Просмотр исходного кода

chore: update installation script and environment version to 2.5.3

Manuel 3 месяцев назад
Родитель
Сommit
c431ffa0ca
3 измененных файлов с 8 добавлено и 8 удалено
  1. 3 3
      README.md
  2. 3 3
      README_es.md
  3. 2 2
      install.sh

+ 3 - 3
README.md

@@ -240,11 +240,11 @@ apt install git python3 python3-pip python3-venv libmariadb-dev curl
 
 1. Install with script:
 ```bash
- curl -fsSL https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.2/install.sh | sudo bash
+ curl -fsSL https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.3/install.sh | sudo bash
 ```
 or
 ```bash
-  wget -qO- https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.2/install.sh | sudo bash
+  wget -qO- https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.3/install.sh | sudo bash
 ```
 
 #### Installation Options
@@ -356,7 +356,7 @@ If the command returns the installed version, SquidStats is ready to use.
     Note: for use MARIADB need your own database running
    ```bash
    # Application Version
-   VERSION="2.5.2"
+   VERSION="2.5.3"
    
    # Security Keys
    SECRET_KEY="your-secret-key-here"  # Generate with: python3 -c 'import secrets; print(secrets.token_hex(32))'

+ 3 - 3
README_es.md

@@ -240,11 +240,11 @@ apt install git python3 python3-pip python3-venv libmariadb-dev curl
 1. Script para instalar:
 
 ```bash
- curl -fsSL https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.2/install.sh | sudo bash
+ curl -fsSL https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.3/install.sh | sudo bash
 ```
 o
 ```bash
-  wget -qO- https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.2/install.sh | sudo bash
+  wget -qO- https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.3/install.sh | sudo bash
 ```
 
 #### Opciones de Instalación
@@ -720,7 +720,7 @@ Advertencia: 🚨 La primera ejecución puede causar alto uso de CPU.
 1. Obtener el Script con curl o wget:
 
 ```bash
- wget https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.2/install.sh
+ wget https://github.com/kaelthasmanu/SquidStats/releases/download/2.5.3/install.sh
 ```
 
 2. Agregar permisos de ejecución:

+ 2 - 2
install.sh

@@ -343,7 +343,7 @@ updateOrCloneRepo() {
 
 updateEnvVersion() {
     local install_dir="${1:-/opt/SquidStats}"
-    local CURRENT_VERSION="2.5.2"  # Variable de versión actual del script
+    local CURRENT_VERSION="2.5.3"  # Variable de versión actual del script
     local env_file="$install_dir/.env"
     
     log_msg "INFO" "Verificando versión en .env ($env_file)"
@@ -396,7 +396,7 @@ createEnvFile() {
         log_msg "INFO" "Creando archivo .env en $env_file"
         echo "Creando archivo de configuración .env..."
         cat >"$env_file" <<EOF
-VERSION=2.5.2
+VERSION=2.5.3
 SQUID_HOST=127.0.0.1
 SQUID_PORT=3128
 SQUID_HOSTS=