mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +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..."
|
||||
$null = [System.Console]::ReadKey()
|
||||
return
|
||||
} else {
|
||||
Receive-Job $enableSystemRestoreJob
|
||||
}
|
||||
} else {
|
||||
Write-Output ""
|
||||
@@ -836,6 +838,8 @@ function CreateSystemRestorePoint {
|
||||
Write-Output ""
|
||||
Write-Output "Press any key to continue anyway..."
|
||||
$null = [System.Console]::ReadKey()
|
||||
} else {
|
||||
Receive-Job $createRestorePointJob
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
|
||||
Reference in New Issue
Block a user