Browse Source

Update Download_Sophia.ps1

pull/252/head
Dmitry Nefedov 3 years ago
committed by GitHub
parent
commit
a6c82c506f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Download_Sophia.ps1

8
Download_Sophia.ps1

@ -29,8 +29,8 @@ if ($Wrapper)
{
$LatestStableVersion = (Invoke-RestMethod -Uri "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json" -UseBasicParsing).Sophia_Script_Wrapper
$Parameters = @{
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestRelease/Sophia.Script.Wrapper.v$LatestStableVersion.zip"
OutFile = "$DownloadsFolder\Sophia.Script.Wrapper.zip"
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestRelease/Sophia.Script.Wrapper.v$LatestStableVersion.zip"
OutFile = "$DownloadsFolder\Sophia.Script.Wrapper.zip"
UseBasicParsing = $true
Verbose = $true
}
@ -58,8 +58,8 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber)
{
$LatestStableVersion = (Invoke-RestMethod -Uri "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json" -UseBasicParsing).Sophia_Script_Windows_10_LTSC
$Parameters = @{
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestRelease/Sophia.Script.LTSC.v$LatestStableVersion.zip"
OutFile = "$DownloadsFolder\Sophia.Script.zip"
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/releases/download/$LatestRelease/Sophia.Script.LTSC.v$LatestStableVersion.zip"
OutFile = "$DownloadsFolder\Sophia.Script.zip"
UseBasicParsing = $true
Verbose = $true
}

Loading…
Cancel
Save