mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 11:06:18 +00:00
Fix system restore actions not being printed
This commit is contained in:
@@ -800,6 +800,8 @@ function CreateSystemRestorePoint {
|
|||||||
Write-Output "Press any key to continue anyway..."
|
Write-Output "Press any key to continue anyway..."
|
||||||
$null = [System.Console]::ReadKey()
|
$null = [System.Console]::ReadKey()
|
||||||
return
|
return
|
||||||
|
} else {
|
||||||
|
Receive-Job $enableSystemRestoreJob
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
@@ -836,6 +838,8 @@ function CreateSystemRestorePoint {
|
|||||||
Write-Output ""
|
Write-Output ""
|
||||||
Write-Output "Press any key to continue anyway..."
|
Write-Output "Press any key to continue anyway..."
|
||||||
$null = [System.Console]::ReadKey()
|
$null = [System.Console]::ReadKey()
|
||||||
|
} else {
|
||||||
|
Receive-Job $createRestorePointJob
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Output ""
|
Write-Output ""
|
||||||
|
|||||||
Reference in New Issue
Block a user