Skip to content

Commit

Permalink
Fix for #591
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Oct 9, 2024
1 parent 5c9155d commit 3b38159
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
}

# Detect Windows build version
if ((Get-WindowsEdition -Online).Edition -ne "EnterpriseS")
if ((Get-WindowsEdition -Online).Edition -notmatch "EnterpriseS")
{
Write-Information -MessageData "" -InformationAction Continue
Write-Warning -Message $Localization.UnsupportedOSBuild
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
}

# Detect Windows build version
if ((Get-WindowsEdition -Online).Edition -ne "EnterpriseS")
if ((Get-WindowsEdition -Online).Edition -notmatch "EnterpriseS")
{
Write-Information -MessageData "" -InformationAction Continue
Write-Warning -Message $Localization.UnsupportedOSBuild
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
}

# Detect Windows build version
if ((Get-WindowsEdition -Online).Edition -ne "EnterpriseS")
if ((Get-WindowsEdition -Online).Edition -notmatch "EnterpriseS")
{
Write-Information -MessageData "" -InformationAction Continue
Write-Warning -Message $Localization.UnsupportedOSBuild
Expand Down

0 comments on commit 3b38159

Please sign in to comment.