|
|
@ -102,6 +102,7 @@ function Checks |
|
|
|
Write-Warning -Message $Localization.UnsupportedOSBuild |
|
|
|
Start-Process -FilePath "https://t.me/sophia_chat" |
|
|
|
Start-Process -FilePath "https://discord.gg/sSryhaEv79" |
|
|
|
Start-Process -FilePath "https://github.com/farag2/Sophia-Script-for-Windows#system-requirements" |
|
|
|
exit |
|
|
|
} |
|
|
|
} |
|
|
@ -250,16 +251,12 @@ function Checks |
|
|
|
{ |
|
|
|
Write-Warning -Message ($Localization.NoResponse -f "https://github.com") |
|
|
|
Write-Error -Message ($Localization.NoResponse -f "https://github.com") -ErrorAction SilentlyContinue |
|
|
|
|
|
|
|
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue |
|
|
|
} |
|
|
|
} |
|
|
|
catch [System.Net.WebException] |
|
|
|
{ |
|
|
|
Write-Warning -Message $Localization.NoInternetConnection |
|
|
|
Write-Error -Message $Localization.NoInternetConnection -ErrorAction SilentlyContinue |
|
|
|
|
|
|
|
Write-Error -Message ($Localization.RestartFunction -f $MyInvocation.Line) -ErrorAction SilentlyContinue |
|
|
|
} |
|
|
|
|
|
|
|
#region Defender checks |
|
|
|