From b378f4e3131965afbb90043357ad4818ba8929f1 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Thu, 28 Nov 2024 15:03:08 +0300 Subject: [PATCH] fixed typo --- Download_Sophia.ps1 | 2 +- sophia_script_versions.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Download_Sophia.ps1 b/Download_Sophia.ps1 index f8a063c8d..0fd3a888a 100644 --- a/Download_Sophia.ps1 +++ b/Download_Sophia.ps1 @@ -32,7 +32,7 @@ $Parameters = @{ Uri = "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json" UseBasicParsing = $true } -$JSONVersions = Invoke-WebRequest @Parameters +$JSONVersions = Invoke-RestMethod @Parameters switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber) { diff --git a/sophia_script_versions.json b/sophia_script_versions.json index 3c724dd45..2281ce7ed 100644 --- a/sophia_script_versions.json +++ b/sophia_script_versions.json @@ -3,7 +3,7 @@ "Sophia_Script_Windows_10_PowerShell_7": "5.19.3", "Sophia_Script_Windows_10_LTSC2019": "5.9.3", "Sophia_Script_Windows_10_LTSC2021": "5.19.3", - "Sophia_Script_Windows_11_PowerShell_5_1": "6.7.23", + "Sophia_Script_Windows_11_PowerShell_5_1": "6.7.3", "Sophia_Script_Windows_11_LTSC2024": "6.7.3", "Sophia_Script_Windows_11_PowerShell_7": "6.7.3", "Sophia_Script_Wrapper": "2.7.5"