From 65d271467e368f17787e5578c3076ff0a63d7770 Mon Sep 17 00:00:00 2001 From: HalbeBruno Date: Sun, 22 Feb 2026 07:53:44 -0300 Subject: [PATCH] Correcoes nos scripts --- tools/build.sh | 2 +- tools/gen_license.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build.sh b/tools/build.sh index 5cd442a..2f2d2b2 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -15,7 +15,7 @@ echo "[BUILD] Iniciando Obfuscação Pyarmor (Modo Full)..." # Usando Pyarmor para proteger todo o código fonte # O comando gen irá usar a configuração existente em .pyarmor se houver, ou criar uma nova. # --outer: Permite usar chave de licença externa (license.key via outer_keyname=license.key) -./venv/bin/pyarmor gen --outer -O $STAGE_DIR app.py drivers/ utils/ config.py +./venv/bin/python3 ./venv/bin/pyarmor gen --outer -O $STAGE_DIR app.py drivers/ utils/ config.py echo "[BUILD] Copiando arquivos estáticos..." diff --git a/tools/gen_license.sh b/tools/gen_license.sh index 6c10db6..6beebd5 100755 --- a/tools/gen_license.sh +++ b/tools/gen_license.sh @@ -5,7 +5,7 @@ cd "$(dirname "$0")/.." # Configuration OUTPUT_BASE="dist/licenses" -PYARMOR="./venv/bin/pyarmor" +PYARMOR="./venv/bin/python3 ./venv/bin/pyarmor" # Colors (only if terminal supports it, otherwise empty) if [ -t 1 ]; then