Fix deferred writers and release checksums
Windows tests / test-and-build (push) Canceled after 0s

This commit is contained in:
0x000 committed 2026-09-24 13:55:18 -04:00
1 parent 4dfec83063
commit 0274e7b398
24 files changed
+60 -34

No files matched your search

+1 -1
View File
@@ -40,5 +40,5 @@ if($Mode -eq 'Apply'){
}
if(-not $Journal){throw "$Mode requires -Journal."}
$saved=Get-Content -LiteralPath $Journal -Raw|ConvertFrom-Json
$save={param($x) Save-WindJournal -Journal $x -Path $Journal}.GetNewClosure()
$journalWriter=Get-Command Save-WindJournal -CommandType Function;$save={param($x)& $journalWriter -Journal $x -Path $Journal}.GetNewClosure()
if($Mode-eq'Confirm'){Confirm-WindNetwork -Journal $saved -Save $save|Format-List}else{Restore-WindNetwork -Journal $saved -Save $save|Format-List}