Browse Source

Hot fix

Fixed a bug when checking if https://store.rg-adguard.net/api/GetFiles is alive
pull/305/head
Dmitry Nefedov 3 years ago
parent
commit
b11d710e71
  1. 2
      Sophia Script/Sophia Script for Windows 10 PowerShell 7/Module/Sophia.psm1
  2. 2
      Sophia Script/Sophia Script for Windows 10/Module/Sophia.psm1
  3. 2
      Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1
  4. 2
      Sophia Script/Sophia Script for Windows 11/Module/Sophia.psm1

2
Sophia Script/Sophia Script for Windows 10 PowerShell 7/Module/Sophia.psm1

@ -9662,7 +9662,7 @@ function HEIF
DisableKeepAlive = $true
UseBasicParsing = $true
}
if (-not (Invoke-RestMethod @Parameters).StatusDescription)
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{
return
}

2
Sophia Script/Sophia Script for Windows 10/Module/Sophia.psm1

@ -9607,7 +9607,7 @@ function HEIF
DisableKeepAlive = $true
UseBasicParsing = $true
}
if (-not (Invoke-RestMethod @Parameters).StatusDescription)
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{
return
}

2
Sophia Script/Sophia Script for Windows 11 PowerShell 7/Module/Sophia.psm1

@ -9075,7 +9075,7 @@ function HEIF
SslProtocol = "Tls13"
UseBasicParsing = $true
}
if (-not (Invoke-RestMethod @Parameters).StatusDescription)
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{
return
}

2
Sophia Script/Sophia Script for Windows 11/Module/Sophia.psm1

@ -9020,7 +9020,7 @@ function HEIF
DisableKeepAlive = $true
UseBasicParsing = $true
}
if (-not (Invoke-RestMethod @Parameters).StatusDescription)
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{
return
}

Loading…
Cancel
Save