feat: scripts de build y deploy para producción

- genera_app.sh: fix JAVA_HOME → Java 17 (Kotlin 1.7.10 incompatible con Java 25)
- desplegar.sh: nuevo script que sube APK y Linux tar.gz a siax-system.net con icono

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Pablinux
2026-06-21 17:36:03 -05:00
co-authored by Claude Sonnet 4.6
parent 4572d5c7c0
commit 4724f84b04
2 changed files with 162 additions and 0 deletions
+6
View File
@@ -11,10 +11,16 @@ RED='\033[0;31m'
BOLD='\033[1m'
RESET='\033[0m'
# Kotlin 1.7.10 no soporta Java > 21 — forzar Java 17 para builds Android
export JAVA_HOME="${JAVA_HOME:-/usr/lib/jvm/jdk-17-oracle-x64}"
APP_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //' | sed 's/+.*//' | tr -d ' ')
echo ""
echo -e "${CYAN}${BOLD}╔══════════════════════════════════════╗${RESET}"
echo -e "${CYAN}${BOLD}║ SENTINEL ONE — Build Tool ║${RESET}"
echo -e "${CYAN}${BOLD}╚══════════════════════════════════════╝${RESET}"
echo -e " Versión: ${BOLD}${APP_VERSION}${RESET}"
echo ""
# ── Selección de plataforma ───────────────────────────────────