Add a timeout for the reWASD downloader
This commit is contained in:
parent
5a6d46153f
commit
1c3bffce42
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ Start-SoftwareInstaller @PSBoundParameters `
|
||||||
-Installer {
|
-Installer {
|
||||||
Write-Host "Downloading reWASD…";
|
Write-Host "Downloading reWASD…";
|
||||||
$dir = New-TemporaryDirectory;
|
$dir = New-TemporaryDirectory;
|
||||||
$file = Start-BrowserDownload -URL "https://rewasd.com/" -ButtonSelector 'a.btn-default[href="#"]' -OutDir $dir;
|
$file = Start-BrowserDownload -URL "https://rewasd.com/" -ButtonSelector 'a.btn-default[href="#"]' -OutDir $dir -Timeout 1;
|
||||||
|
|
||||||
Write-Host "Installing reWASD…";
|
Write-Host "Installing reWASD…";
|
||||||
Start-Process -Wait -FilePath $($file.FullName) -ArgumentList "/S";
|
Start-Process -Wait -FilePath $($file.FullName) -ArgumentList "/S";
|
||||||
|
|
Loading…
Reference in a new issue