Remove code duplication

This commit is contained in:
Manuel Thalmann 2024-08-09 01:33:04 +02:00
parent e85ab0431f
commit 0ce23ecc9f

View file

@ -23,9 +23,10 @@ param(
$packageName = $version[0]; $packageName = $version[0];
Write-Host "Installing ``$packageName``"; Write-Host "Installing ``$packageName``";
Install-ChocoPackage $packageName; Install-ChocoPackage $packageName;
Remove-DesktopIcon "CocosCreator*";
Remove-DesktopIcon "Unity Hub*";
} }
Remove-DesktopIcon "CocosCreator*";
Remove-DesktopIcon "Unity Hub*";
}; };
# ToDo: Add restoration # ToDo: Add restoration