Skip to content

Commit

Permalink
Updated short URL
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Dec 9, 2023
1 parent 98dbebc commit 49d46f2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion Download_Sophia.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
.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
iex "& {$(irm script.sophi.app -useb)} -Wrapper"
Expand All @@ -25,6 +25,13 @@ param

[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 = @{
Uri = "https://api.github.com/repos/farag2/Sophia-Script-for-Windows/releases/latest"
UseBasicParsing = $true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

```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`.
Expand Down
2 changes: 1 addition & 1 deletion README_de-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

```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.
Expand Down
2 changes: 1 addition & 1 deletion README_uk-ua.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ UninstallUWPApps, "PinToStart -UnpinAll"
* Завантажте актуальний архів Sophia Script, викликавши (`також не від імені адміністратора`) в 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`.
Expand Down

0 comments on commit 49d46f2

Please sign in to comment.