Pabloler21 Claude Opus 5.5 commited on
Commit
069101e
·
1 Parent(s): 4415afe

Agregar lanzadores de doble clic para Windows y Mac/Linux

Browse files

Instalan uv si falta y ejecutan la app con uv run.

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

Files changed (2) hide show
  1. run.bat +6 -0
  2. run.sh +5 -0
run.bat ADDED
@@ -0,0 +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 python app.py
6
+ pause
run.sh ADDED
@@ -0,0 +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 python app.py