This commit is contained in:
Manuel Thalmann 2023-07-16 14:52:53 +02:00
parent 2ceed327f8
commit 9d7d0efe2b

View file

@ -24,7 +24,7 @@ $null = New-Module {
Write-Information "Installing TrackMania Nations Forever";
winget install --accept-source-agreements --accept-package-agreements -e --id Nadeo.TrackManiaNationsForever;
Write-Information "Removing Desktop Icon";
$context.RemoveDesktopIcon("*TmNationsForever");
$context.RemoveDesktopIcon("*TmNationsForever*");
Write-Information "Restoring Files";
$context.Restore($context.SoftwareArchive($softwareName), $path);
}