final
This commit is contained in:
parent
99e325b59b
commit
cf2d53a30c
1 changed files with 8 additions and 1 deletions
|
|
@ -16,7 +16,14 @@ else {
|
||||||
$PatchBundleRoot = $PSScriptRoot
|
$PatchBundleRoot = $PSScriptRoot
|
||||||
|
|
||||||
function Wait-ConsolePause {
|
function Wait-ConsolePause {
|
||||||
$null = cmd /c pause
|
Write-Host ''
|
||||||
|
Write-Host 'Press any key to close this window...'
|
||||||
|
try {
|
||||||
|
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
|
||||||
|
}
|
||||||
|
catch {
|
||||||
|
Read-Host 'Press Enter to close'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function Write-BannerWrongFolder {
|
function Write-BannerWrongFolder {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue