Only install choco if needed

This commit is contained in:
Marterich
2024-05-06 19:31:21 +02:00
parent 2354645b47
commit 7de3bbe1ff
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