Remove unnecessary loop

This commit is contained in:
Manuel Thalmann 2024-08-24 04:24:55 +02:00
parent ddaafb51c9
commit a6c7ea33ab

View file

@ -12,10 +12,10 @@ Start-SoftwareInstaller @PSBoundParameters `
Write-Information "Enabling the ``$feature`` feature…"; Write-Information "Enabling the ``$feature`` feature…";
choco install --source windowsFeatures -y $feature; choco install --source windowsFeatures -y $feature;
} }
Install-WingetPackage Nadeo.TrackManiaNationsForever;
Remove-DesktopIcon "*TmNationsForever*";
} }
Install-WingetPackage Nadeo.TrackManiaNationsForever;
Remove-DesktopIcon "*TmNationsForever*";
}; };
# ToDo: Add restoration # ToDo: Add restoration