Skip to content

Commit

Permalink
changed URL for the internet connection check
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Aug 29, 2023
1 parent cf6134b commit 5108c5f
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 72 deletions.
26 changes: 13 additions & 13 deletions src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public static string GetString(uint strId)
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -402,7 +402,7 @@ public static string GetString(uint strId)
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -710,7 +710,7 @@ public static string GetString(uint strId)
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -4384,7 +4384,7 @@ function Cursors
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -4504,7 +4504,7 @@ function Cursors
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -5002,7 +5002,7 @@ public static bool MarkFileDelete (string sourcefile)
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -6551,7 +6551,7 @@ function WindowsCapabilities
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -6915,7 +6915,7 @@ function IPv6Component
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -9956,7 +9956,7 @@ function InstallVCRedist
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -10036,7 +10036,7 @@ function InstallDotNetRuntimes
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -11766,7 +11766,7 @@ function HEVC
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -14772,7 +14772,7 @@ function BitmapImageNewContext
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -14863,7 +14863,7 @@ function RichTextDocumentNewContext
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down
20 changes: 10 additions & 10 deletions src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public static string GetString(uint strId)
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -573,7 +573,7 @@ public static string GetString(uint strId)
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -3336,7 +3336,7 @@ function Cursors
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -3456,7 +3456,7 @@ function Cursors
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -5191,7 +5191,7 @@ function WindowsCapabilities
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -5555,7 +5555,7 @@ function IPv6Component
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -8255,7 +8255,7 @@ function InstallVCRedist
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -8335,7 +8335,7 @@ function InstallDotNetRuntimes
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -11205,7 +11205,7 @@ function BitmapImageNewContext
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -11296,7 +11296,7 @@ function RichTextDocumentNewContext
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down
20 changes: 10 additions & 10 deletions src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public static string GetString(uint strId)
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -573,7 +573,7 @@ public static string GetString(uint strId)
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -3706,7 +3706,7 @@ function Cursors
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -3826,7 +3826,7 @@ function Cursors
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -5577,7 +5577,7 @@ function WindowsCapabilities
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -5941,7 +5941,7 @@ function IPv6Component
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -8879,7 +8879,7 @@ function InstallVCRedist
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -8959,7 +8959,7 @@ function InstallDotNetRuntimes
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -12374,7 +12374,7 @@ function BitmapImageNewContext
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down Expand Up @@ -12465,7 +12465,7 @@ function RichTextDocumentNewContext
{
# Check the internet connection
$Parameters = @{
Uri = "https://www.google.com"
Uri = "https://www.cloudflare.com"
Method = "Head"
DisableKeepAlive = $true
UseBasicParsing = $true
Expand Down
Loading

0 comments on commit 5108c5f

Please sign in to comment.