Remove code duplication
This commit is contained in:
parent
e85ab0431f
commit
0ce23ecc9f
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue