Farm: Rang nur noch ueber reihenfolge.ps1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Marc Mintel
2026-12-05 21:35:09 +01:00
co-authored by Claude Opus 5.5
parent 794f413d9f
commit de5e179f73
+1 -1
View File
@@ -11,7 +11,7 @@ foreach ($f in Get-ChildItem "$Q\laufend" -Filter *.json) {
foreach ($f in Get-ChildItem "$Q\auftraege" -Filter *.json) {
$id = $f.BaseName
if (Erlaubt $id) {
if ($id -like 'bitgleich-*') { continue } # Rang setzt bitgleich.py selbst (Bau vor Armen)
continue # Rang setzt ab 21:3x reihenfolge.ps1
$j = Get-Content $f.FullName -Raw | ConvertFrom-Json
if ($j.prio -ne -20 -or $j.kurz -ne $true) { $j | Add-Member -NotePropertyName prio -NotePropertyValue -20 -Force; $j | Add-Member -NotePropertyName kurz -NotePropertyValue $true -Force
$t = "$($f.FullName).tmp"; $j | ConvertTo-Json -Compress -Depth 5 | Set-Content $t -Encoding UTF8; Move-Item $t $f.FullName -Force; "VORNE $id" }