. "$PSScriptRoot/../../Scripts/Context.ps1";

$null = New-Module {
    $path = "$HOME/Documents/TrackMania";
    $softwareName = "TmUnitedForever";

    function Invoke-BackupTmUnited([Context] $context) {
        $context.Backup($path, $context.SoftwareArchive($softwareName), @("-i@`"$PSScriptRoot/include.txt`""));
    }
}