Browse Source

Updated short URL

master
Dmitry Nefedov 10 months ago
parent
commit
49d46f2ce0
  1. 9
      Download_Sophia.ps1
  2. 2
      README.md
  3. 2
      README_de-de.md
  4. 2
      README_uk-ua.md

9
Download_Sophia.ps1

@ -7,7 +7,7 @@
E.g., if you start script on Windows 11 via PowerShell 5.1 you will start downloading Sophia Script for Windows 11 PowerShell 5.1 E.g., if you start script on Windows 11 via PowerShell 5.1 you will start downloading Sophia Script for Windows 11 PowerShell 5.1
.EXAMPLE Download and expand Sophia Script archive .EXAMPLE Download and expand Sophia Script archive
irm script.sophi.app -useb | iex iwr script.sophia.team -useb | iex
.EXAMPLE Download and expand Wrapper archive .EXAMPLE Download and expand Wrapper archive
iex "& {$(irm script.sophi.app -useb)} -Wrapper" iex "& {$(irm script.sophi.app -useb)} -Wrapper"
@ -25,6 +25,13 @@ param
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
if ($Host.Version.Major -eq 5)
{
# Progress bar can significantly impact cmdlet performance
# https://github.com/PowerShell/PowerShell/issues/2138
$Script:ProgressPreference = "SilentlyContinue"
}
$Parameters = @{ $Parameters = @{
Uri = "https://api.github.com/repos/farag2/Sophia-Script-for-Windows/releases/latest" Uri = "https://api.github.com/repos/farag2/Sophia-Script-for-Windows/releases/latest"
UseBasicParsing = $true UseBasicParsing = $true

2
README.md

@ -284,7 +284,7 @@ Or use an old-style format without the TAB functions autocomplete (the quotation
* Download the always latest Sophia Script archive by invoking (`not as administrator too`) in PowerShell * Download the always latest Sophia Script archive by invoking (`not as administrator too`) in PowerShell
```powershell ```powershell
irm script.sophi.app -useb | iex iwr script.sophia.team -useb | iex
``` ```
* The command will download and expand the latest Sophia Script archive (`without running`) according which Windows and PowerShell versions it is run on. If you run it on, e.g., Windows 11 via PowerShell 5.1, it will download Sophia Script for `Windows 11 PowerShell 5.1`. * The command will download and expand the latest Sophia Script archive (`without running`) according which Windows and PowerShell versions it is run on. If you run it on, e.g., Windows 11 via PowerShell 5.1, it will download Sophia Script for `Windows 11 PowerShell 5.1`.

2
README_de-de.md

@ -284,7 +284,7 @@ Oder verwenden Sie ein Format im alten Stil ohne die TAB-Funktionen zum automati
* Laden Sie das stets aktuelle Sophia-Script-Archiv herunter, indem Sie die PowerShell aufrufen (`auch als nicht-Administrator`) * Laden Sie das stets aktuelle Sophia-Script-Archiv herunter, indem Sie die PowerShell aufrufen (`auch als nicht-Administrator`)
```powershell ```powershell
irm script.sophi.app -useb | iex iwr script.sophia.team -useb | iex
``` ```
* Der Befehl lädt das neueste Sophia Script-Archiv herunter und extrahiert es (`ohne Ausführung`) entsprechend der Windows- und PowerShell-Version, unter der er ausgeführt wird. Wenn Sie es z. B. unter Windows 11 über PowerShell 5.1 ausführen, wird Sophia Script für `Windows 11 PowerShell 5.1` heruntergeladen. * Der Befehl lädt das neueste Sophia Script-Archiv herunter und extrahiert es (`ohne Ausführung`) entsprechend der Windows- und PowerShell-Version, unter der er ausgeführt wird. Wenn Sie es z. B. unter Windows 11 über PowerShell 5.1 ausführen, wird Sophia Script für `Windows 11 PowerShell 5.1` heruntergeladen.

2
README_uk-ua.md

@ -282,7 +282,7 @@ UninstallUWPApps, "PinToStart -UnpinAll"
* Завантажте актуальний архів Sophia Script, викликавши (`також не від імені адміністратора`) в PowerShell * Завантажте актуальний архів Sophia Script, викликавши (`також не від імені адміністратора`) в PowerShell
```powershell ```powershell
irm script.sophi.app -useb | iex iwr script.sophia.team -useb | iex
``` ```
* Команда завантажить і розпакує останній архів Sophia Script (`без запуску`) відповідно до того, під якою версією Windows і PowerShell він запускається. Якщо запустити її, наприклад, в Windows 11 через PowerShell 5.1, вона завантажить Sophia Script для `Windows 11 PowerShell 5.1`. * Команда завантажить і розпакує останній архів Sophia Script (`без запуску`) відповідно до того, під якою версією Windows і PowerShell він запускається. Якщо запустити її, наприклад, в Windows 11 через PowerShell 5.1, вона завантажить Sophia Script для `Windows 11 PowerShell 5.1`.

Loading…
Cancel
Save