Files

21 lines
728 B
PowerShell
Raw Permalink Normal View History

2026-04-22 22:33:46 +02:00
# AZA Desktop Development Start
# Aktiviert die venv und startet die Desktop-App
$ErrorActionPreference = "Stop"
$venvActivate = Join-Path $PSScriptRoot ".venv\Scripts\Activate.ps1"
if (-not (Test-Path $venvActivate)) {
Write-Host "Virtuelle Umgebung nicht gefunden." -ForegroundColor Red
Write-Host "Bitte zuerst erstellen:" -ForegroundColor Yellow
Write-Host " python -m venv .venv" -ForegroundColor Yellow
Write-Host " .\.venv\Scripts\Activate.ps1" -ForegroundColor Yellow
Write-Host " pip install -r requirements-dev.txt" -ForegroundColor Yellow
exit 1
}
& $venvActivate
Write-Host "Starte AZA Desktop (Development)..." -ForegroundColor Cyan
python (Join-Path $PSScriptRoot "basis14.py")