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

$null = New-Module {
    $path = "$env:APPDATA/osu";
    $softwareName = "osu!lazer";

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