Remove code duplication
This commit is contained in:
parent
c3cc94e57d
commit
f21ff7e5f0
|
@ -21,9 +21,10 @@ $null = New-Module {
|
||||||
$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