Skip to content

Commit

Permalink
Update D2Loader.ps1
Browse files Browse the repository at this point in the history
v1.8.5 (take two)
  • Loading branch information
shupershuff committed Sep 19, 2023
1 parent e4f8f5d commit 449f2fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion D2Loader.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ if ($CurrentStats.LastUpdateCheck -lt (Get-Date).addHours(-8).ToString('yyyy.MM.
}
Write-Host; Write-Host
Do {
Write-Host " Would you like to update? $X[38;2;255;165;000;22mY$X[0m/$X[38;2;255;165;000;22mN$X[0m: " -nonewline
Write-Host " Your Current Version is v$CurrentVersion."
Write-Host (" Would you like to update to v"+ $Script:LatestVersion + "? $X[38;2;255;165;000;22mY$X[0m/$X[38;2;255;165;000;22mN$X[0m: ") -nonewline
$ShouldUpdate = ReadKey
if ($ShouldUpdate -eq "y" -or $ShouldUpdate -eq "yes" -or $ShouldUpdate -eq "n" -or $ShouldUpdate -eq "no"){
$UpdateResponseValid = $True
Expand Down

0 comments on commit 449f2fd

Please sign in to comment.