param(
    $Action,
    [hashtable] $Arguments
)

. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Scripts/System.ps1";

Start-SoftwareInstaller @PSBoundParameters `
    -Installer {
        Install-WingetPackage Nadeo.ManiaPlanet;
        Remove-DesktopIcon "ManiaPlanet*";
    };

# ToDo: Add restoration