From 1c3bffce427051376605676b6084e14781da81b0 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 18 Aug 2024 09:05:04 +0200 Subject: [PATCH] Add a timeout for the reWASD downloader --- scripts/Windows/Software/reWASD/Manage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Software/reWASD/Manage.ps1 b/scripts/Windows/Software/reWASD/Manage.ps1 index 47998cd7..b7f016e8 100644 --- a/scripts/Windows/Software/reWASD/Manage.ps1 +++ b/scripts/Windows/Software/reWASD/Manage.ps1 @@ -11,7 +11,7 @@ Start-SoftwareInstaller @PSBoundParameters ` -Installer { Write-Host "Downloading reWASD…"; $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…"; Start-Process -Wait -FilePath $($file.FullName) -ArgumentList "/S";