From 06dd87988715599028fe7e0a9802ba4b7b06bd69 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 15 Jul 2023 19:56:45 +0200 Subject: [PATCH] Fix malfunctioning download checker --- scripts/Windows/Scripts/BrowserAutomation.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/BrowserAutomation.ps1 b/scripts/Windows/Scripts/BrowserAutomation.ps1 index 3a6558f6..1bf44ecf 100644 --- a/scripts/Windows/Scripts/BrowserAutomation.ps1 +++ b/scripts/Windows/Scripts/BrowserAutomation.ps1 @@ -40,12 +40,13 @@ function Start-AutomatedDownload() { $stream.Close(); } - return $false; } catch { return $true; } } + + return $false; } else { return $true; }