From 41bbe0a4ceed57bbaba5042fcbc0b40abd46d3af Mon Sep 17 00:00:00 2001 From: technoluc Date: Fri, 20 May 2022 18:05:35 +0200 Subject: [PATCH] revert deletion of WindowStyle --- winutil.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winutil.ps1 b/winutil.ps1 index e39c0e579c..47b66b9924 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -380,7 +380,7 @@ $WPFinstall.Add_Click({ $wingetResult = New-Object System.Collections.Generic.List[System.Object] foreach ( $node in $wingetinstall ) { - Start-Process powershell.exe -Verb RunAs -ArgumentList "-command winget install -e --accept-source-agreements --accept-package-agreements --silent $node | Out-Host" -Wait + Start-Process powershell.exe -Verb RunAs -ArgumentList "-command winget install -e --accept-source-agreements --accept-package-agreements --silent $node | Out-Host" -Wait -WindowStyle Maximized $wingetResult.Add("$node`n") } If ( $wingetinstall -eq "Microsoft.OfficeDeploymentTool" )