add option to show short state messages with startup script

This commit is contained in:
2026-06-16 08:17:47 +02:00
parent 03fb2a62cd
commit cda409ffab
2 changed files with 16 additions and 1 deletions

View File

@@ -1 +1,14 @@
param(
[switch]$enableOutput
)
.\python\python.exe -m wattanalyse.external_interface
if ($enableOutput) {
if ($LASTEXITCODE -eq 0) {
Write-Host "Die Verarbeitungspipeline wurde erfolgreich abgeschlossen."
}
else {
Write-Host "Bei der Verarbeitung ist ein Fehler aufgetreten. Details sind den Logs zu entnehmen."
}
}