Pabloler21 Claude Opus 5.5 commited on
Commit
ff8b647
·
1 Parent(s): e575738

Fijar la versión del instalador de uv en los lanzadores (OWASP LLM04)

Browse files

run.bat y run.sh ejecutaban el script de instalación más reciente
bajado de internet. Ahora usan el de uv 0.11.1, con el que se probó.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Files changed (2) hide show
  1. run.bat +1 -1
  2. run.sh +1 -1
run.bat CHANGED
@@ -1,6 +1,6 @@
1
  @echo off
2
  cd /d "%~dp0"
3
- where uv >nul 2>nul || powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
4
  set "PATH=%USERPROFILE%\.local\bin;%PATH%"
5
  uv run --no-dev python app.py
6
  pause
 
1
  @echo off
2
  cd /d "%~dp0"
3
+ where uv >nul 2>nul || powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.11.1/install.ps1 | iex"
4
  set "PATH=%USERPROFILE%\.local\bin;%PATH%"
5
  uv run --no-dev python app.py
6
  pause
run.sh CHANGED
@@ -1,5 +1,5 @@
1
  #!/bin/sh
2
  cd "$(dirname "$0")"
3
- command -v uv >/dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh
4
  export PATH="$HOME/.local/bin:$PATH"
5
  uv run --no-dev python app.py
 
1
  #!/bin/sh
2
  cd "$(dirname "$0")"
3
+ command -v uv >/dev/null || curl -LsSf https://astral.sh/uv/0.11.1/install.sh | sh
4
  export PATH="$HOME/.local/bin:$PATH"
5
  uv run --no-dev python app.py