Add script for backing up osu!lazer

This commit is contained in:
Manuel Thalmann 2023-06-07 20:24:43 +02:00
parent 0df64bc2e6
commit 2485ae8e47
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,7 @@
. "$PSScriptRoot/../../Scripts/Context.ps1";
$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"));
}

View file

@ -0,0 +1,6 @@
files
rulesets
screenshots
framework.ini
game.ini
input.json