From 8ec897845be80ea33c4f8f15d9505fbe93cff36c Mon Sep 17 00:00:00 2001 From: Dima Iholkin <38999978+dima-iholkin@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:07:38 +0300 Subject: [PATCH] Try a fix. --- src/Installer/_scripts/_helpers.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Installer/_scripts/_helpers.ps1 b/src/Installer/_scripts/_helpers.ps1 index 3525ea3..1477c14 100644 --- a/src/Installer/_scripts/_helpers.ps1 +++ b/src/Installer/_scripts/_helpers.ps1 @@ -144,7 +144,7 @@ function BuildInstaller { Write-Output "devenv.exe started: platform $Platform, mod $Mod." # $toLogOrNot = "/Out " + $installerDir + "\SwitchApps_Installer\Debug\log.txt" $toLogOrNot = "" - $proc = Start-Process -FilePath $devenvFile -ArgumentList ("$solutionFile /Rebuild Debug") -NoNewWindow + $proc = Start-Process -FilePath $devenvFile -ArgumentList ("$solutionFile /Rebuild Debug") -NoNewWindow -PassThru $timeoutReached = $null $proc | Wait-Process -Timeout 30 -ErrorAction SilentlyContinue -ErrorVariable timeoutReached if ($timeoutReached) {