Remove code duplication
This commit is contained in:
parent
e85ab0431f
commit
0ce23ecc9f
|
@ -23,9 +23,10 @@ param(
|
|||
$packageName = $version[0];
|
||||
Write-Host "Installing ``$packageName``…";
|
||||
Install-ChocoPackage $packageName;
|
||||
Remove-DesktopIcon "CocosCreator*";
|
||||
Remove-DesktopIcon "Unity Hub*";
|
||||
}
|
||||
|
||||
Remove-DesktopIcon "CocosCreator*";
|
||||
Remove-DesktopIcon "Unity Hub*";
|
||||
};
|
||||
|
||||
# ToDo: Add restoration
|
||||
|
|
Loading…
Reference in a new issue