Only install choco if needed (#1943)

This commit is contained in:
Martin Wiethan
2024-05-10 06:13:57 +02:00
committed by GitHub
parent 1c80af1aca
commit cc02facb11
4 changed files with 8 additions and 3 deletions

View File

@ -145,8 +145,8 @@ Invoke-WPFRunspace -ScriptBlock {
# Print the logo
Invoke-WPFFormVariables
# Check if Chocolatey is installed
Install-WinUtilChoco
# Install Winget if not already present
Install-WinUtilWinget
# Set the titlebar
$sync["Form"].title = $sync["Form"].title + " " + $sync.version