Browse Source

Update Download_Sophia.ps1

pull/252/head
Dmitry Nefedov 4 years ago
committed by GitHub
parent
commit
e31dc664ce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Download_Sophia.ps1

4
Download_Sophia.ps1

@ -116,7 +116,7 @@ Invoke-WebRequest @Parameters
$Parameters = @{ $Parameters = @{
Path = "$DownloadsFolder\Sophia.Script.zip" Path = "$DownloadsFolder\Sophia.Script.zip"
DestinationPath = "$DownloadsFolder" DestinationPath = "$DownloadsFolder"
Force = [switch]::Present Force = $true
} }
Expand-Archive @Parameters Expand-Archive @Parameters
@ -124,7 +124,7 @@ Remove-Item -Path "$DownloadsFolder\Sophia.Script.zip" -Force
Start-Sleep -Second 1 Start-Sleep -Second 1
Invoke-Item -Path "$DownloadsFolder\Sophia Script v$LatestRelease" Invoke-Item -Path "$DownloadsFolder\Sophia Script * v$LatestStableVersion"
$SetForegroundWindow = @{ $SetForegroundWindow = @{
Namespace = "WinAPI" Namespace = "WinAPI"

Loading…
Cancel
Save