fix: Remove unused code
- Remove Write-Mandatory method (Use Write-Status instead) - Fixed a bug where the daily upgrade couldn't be done after closing the script via the window.main
parent
a52e4c5c8d
commit
002241a6cd
@ -1,14 +0,0 @@
|
||||
function Wait-TimeInSecond() {
|
||||
[CmdletBinding()]
|
||||
param (
|
||||
[Int] $Time = 3,
|
||||
[String] $Msg = "Exiting in"
|
||||
)
|
||||
|
||||
$Time..0 | ForEach-Object { Start-Sleep -Seconds 1 ; "$Msg $_ seconds..." }
|
||||
}
|
||||
|
||||
<#
|
||||
Example:
|
||||
Wait-TimeInSecond -Time 5 -Msg "This is closing in"
|
||||
#>
|
Loading…
Reference in New Issue