Skip to content

Commit edefd12

Browse files
authored
Update Sophia.psm1
1 parent f62a96e commit edefd12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sophia_Script_for_Windows_11_ARM/Module/Sophia.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ public extern static string BrandingFormatString(string sFormat);
10251025
}
10261026

10271027
# We may use Test-Path -Path variable:LatestSupportedBuild
1028-
if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -gt $LatestSupportedBuild)
1028+
if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt $LatestSupportedBuild)
10291029
{
10301030
# Check Windows minor build version
10311031
# https://support.microsoft.com/en-us/topic/windows-11-version-24h2-update-history-0929c747-1815-4543-8461-0160d16f15e5

0 commit comments

Comments
 (0)