. "$PSScriptRoot/../tm-united-forever/Manage.ps1";
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";

$parameters = Get-TMForeverInstallerComponents `
    -IconName "TmNationsForever" `
    -UserDirectory "$HOME/Documents/TmForever" `
    -Installer {
        Install-WingetPackage Nadeo.TrackManiaNationsForever;
    };

Start-SoftwareInstaller @args @parameters;