Dmitry Nefedov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
5 deletions
-
Download_Sophia.ps1
|
|
@ -116,7 +116,7 @@ Invoke-WebRequest @Parameters |
|
|
|
$Parameters = @{ |
|
|
|
Path = "$DownloadsFolder\Sophia.Script.zip" |
|
|
|
DestinationPath = "$DownloadsFolder" |
|
|
|
Force = [switch]::Present |
|
|
|
Force = $true |
|
|
|
} |
|
|
|
Expand-Archive @Parameters |
|
|
|
|
|
|
@ -124,7 +124,7 @@ Remove-Item -Path "$DownloadsFolder\Sophia.Script.zip" -Force |
|
|
|
|
|
|
|
Start-Sleep -Second 1 |
|
|
|
|
|
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia Script v$LatestRelease" |
|
|
|
Invoke-Item -Path "$DownloadsFolder\Sophia Script * v$LatestStableVersion" |
|
|
|
|
|
|
|
$SetForegroundWindow = @{ |
|
|
|
Namespace = "WinAPI" |
|
|
|