Skip to content

Commit

Permalink
Update Download_SophiApp.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Dec 26, 2023
1 parent 895115d commit c6ffbc5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Download_SophiApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
.SYNOPSIS
Download the latest SophiApp version
.EXAMPLE Download the latest SophiApp version
.EXAMPLE
iwr app.sophia.team | iex
#>

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

if ($Host.Version.Major -eq 5)
Expand Down Expand Up @@ -77,6 +78,3 @@ Get-Process -Name explorer | Where-Object -FilterScript {$_.MainWindowTitle -eq
# Force move the console window to the foreground
[WinAPI.ForegroundWindow]::SetForegroundWindow($_.MainWindowHandle)
} | Out-Null

Write-Information -MessageData "" -InformationAction Continue
Write-Verbose -Message "Archive was expanded to `"$DownloadsFolder\SophiApp`"" -Verbose

0 comments on commit c6ffbc5

Please sign in to comment.