Skip to content

Commit

Permalink
Prepare deprecation of Windows PowerShell (#87)
Browse files Browse the repository at this point in the history
* deprecation of Windows PowerShell

* add PS version check

* adjust sentence
  • Loading branch information
hjorslev authored Apr 14, 2024
1 parent b253df2 commit 71dc486
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SteamPS/Enum/Enum.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ enum VAC {
enum Visibility {
Public = 0
Private = 1
}

if ($PSVersionTable.PSVersion.Major -le 5 -and $PSVersionTable.PSVersion.Minor -le 1) {
Write-Warning -Message "The support for Windows PowerShell (v5) will be deprecated in the next major version of SteamPS. Please ensure your system supports PowerShell 7."
}

0 comments on commit 71dc486

Please sign in to comment.