This commit is contained in:
2026-05-20 00:09:28 +02:00
parent 968bf7d102
commit 51b5ddc6f2
695 changed files with 999722 additions and 270 deletions

View File

@@ -0,0 +1,32 @@
# UO: Windows PowerShell (lokal)
# Baut AZA_DevStatus_Handover.exe und kopiert nach AzA Drive.
# Optional: kopiert die Excel-Datenquelle aus Downloads, falls vorhanden.
$ErrorActionPreference = "Stop"
$ProjectRoot = "C:\Users\surov\Documents\AZA_GIT\aza\AzA march 2026"
$AzADrive = "C:\Users\surov\Documents\AzA Drive"
$ExcelName = "AZA_DevStatus_Handover_2026-05-14.xlsx"
$ExcelDownloads = Join-Path $env:USERPROFILE "Downloads\$ExcelName"
Set-Location $ProjectRoot
py -3 -m pip install --disable-pip-version-check pyinstaller
py -3 -m PyInstaller .\AZA_DevStatus_Handover.spec --noconfirm
$BuiltExe = Join-Path $ProjectRoot "dist\AZA_DevStatus_Handover.exe"
if (-not (Test-Path $BuiltExe)) {
throw "Build fehlgeschlagen: $BuiltExe fehlt"
}
$DestExe = Join-Path $AzADrive "AZA_DevStatus_Handover.exe"
Copy-Item -LiteralPath $BuiltExe -Destination $DestExe -Force
if (Test-Path -LiteralPath $ExcelDownloads) {
Copy-Item -LiteralPath $ExcelDownloads -Destination (Join-Path $AzADrive $ExcelName) -Force
}
$h = Get-FileHash -LiteralPath $DestExe -Algorithm SHA256
$i = Get-Item -LiteralPath $DestExe
Write-Host ("EXE: " + $i.FullName)
Write-Host ("Size: " + $i.Length + " LastWriteTime: " + $i.LastWriteTime)
Write-Host ("SHA256: " + $h.Hash)