mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-08-23 08:02:07 +00:00
Enhance app removal verification and error reporting (#735)
This commit is contained in:
@@ -46,9 +46,9 @@ function Get-UserDirectory {
|
||||
}
|
||||
catch {
|
||||
Write-Error "Something went wrong when trying to find the user directory path for user $userName. Please ensure the user exists on this system"
|
||||
Wait-ForKeyPress
|
||||
Wait-ForKeyPress -ExitCode 1
|
||||
}
|
||||
|
||||
Write-Error "Unable to find user directory path for user $userName"
|
||||
Wait-ForKeyPress
|
||||
Wait-ForKeyPress -ExitCode 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user