Browse Source

Fixed typo in the build checking

pull/227/head
Dmitry Nefedov 3 years ago
committed by GitHub
parent
commit
2707312cad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Sophia/PowerShell 7/Localizations/en-US/Sophia.psd1
  2. 2
      Sophia/PowerShell 7/Module/Sophia.psm1

2
Sophia/PowerShell 7/Localizations/en-US/Sophia.psd1

@ -1,7 +1,7 @@
ConvertFrom-StringData -StringData @'
UnsupportedOSBitness = The script supports Windows 10 x64 only
UnsupportedOSBuild = The script supports Windows 10 2004/20H2/21H1 versions and higher
UpdateWarning = Your Windows 10 build: {0}.{1}.{2}.{3}. Supported build: 19041.1151 and higher
UpdateWarning = Your Windows 10 build: {0}.{1}. Supported build: 19041.1151 and higher
UnsupportedLanguageMode = The PowerShell session in running in a limited language mode
LoggedInUserNotAdmin = The logged-on user doesn't have admin rights
UnsupportedPowerShell = You're trying to run script via PowerShell {0}. Run the script in the appropriate PowerShell version

2
Sophia/PowerShell 7/Module/Sophia.psm1

@ -83,7 +83,7 @@ function Checkings
$false
{
$Version = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion"
$Version = $Version.CurrentMinorVersionNumber, $Version.CurrentBuild, $Version.UBR
$Version = $Version.CurrentBuild, $Version.UBR
Write-Warning -Message ($Localization.UpdateWarning -f $Version)

Loading…
Cancel
Save