. "$PSScriptRoot/../../Scripts/Context.ps1"; $null = New-Module { $path = "$env:APPDATA/osu"; $softwareName = "osu!lazer"; function Backup-OsuLazer([Context] $context) { Write-Host "Backing up osu!lazer"; $context.Backup($path, $context.SoftwareArchive($softwareName), @("-i@`"$PSScriptRoot/include.txt`"", "-i!*.realm", "-i!*.db")); } }