From 0d626c0cdda9d4b23f747457c94853d007a98653 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Wed, 6 Oct 2021 00:57:20 +0300 Subject: [PATCH] Update Download_Sophia.ps1 --- Download_Sophia.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Download_Sophia.ps1 b/Download_Sophia.ps1 index b9a0f871..9ae8e460 100644 --- a/Download_Sophia.ps1 +++ b/Download_Sophia.ps1 @@ -72,7 +72,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber) } $LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC $Parameters = @{ - Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.Windows.10.LTSC.v$LatestRelease.zip" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.for.Windows.10.LTSC.v$LatestRelease.zip" OutFile = "$DownloadsFolder\Sophia.Script.zip" UseBasicParsing = $true Verbose = $true @@ -90,7 +90,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber) } $LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_PowerShell_5_1 $Parameters = @{ - Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.Windows.10.v$LatestRelease.zip" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.for.Windows.10.v$LatestRelease.zip" OutFile = "$DownloadsFolder\Sophia.Script.zip" UseBasicParsing = $true Verbose = $true @@ -106,7 +106,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber) } $LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_PowerShell_7 $Parameters = @{ - Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.Windows.10.v$LatestRelease.PowerShell.7.zip" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.for.Windows.10.v$LatestRelease.PowerShell.7.zip" OutFile = "$DownloadsFolder\Sophia.Script.zip" UseBasicParsing = $true Verbose = $true @@ -125,7 +125,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber) } $LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_11_PowerShell_5_1 $Parameters = @{ - Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.Windows.11.v$LatestRelease.zip" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.for.Windows.11.v$LatestRelease.zip" OutFile = "$DownloadsFolder\Sophia.Script.zip" UseBasicParsing = $true Verbose = $true @@ -141,7 +141,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber) } $LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_11_PowerShell_7 $Parameters = @{ - Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.Windows.11.v$LatestRelease.PowerShell.7.zip" + Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestGitHubRelease/Sophia.Script.for.Windows.11.v$LatestRelease.PowerShell.7.zip" OutFile = "$DownloadsFolder\Sophia.Script.zip" UseBasicParsing = $true Verbose = $true