Add script for backing up osu!lazer
This commit is contained in:
parent
0df64bc2e6
commit
2485ae8e47
2 changed files with 13 additions and 0 deletions
7
scripts/Windows/Software/osu!lazer/Manage.ps1
Normal file
7
scripts/Windows/Software/osu!lazer/Manage.ps1
Normal 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"));
|
||||
}
|
6
scripts/Windows/Software/osu!lazer/include.txt
Normal file
6
scripts/Windows/Software/osu!lazer/include.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
files
|
||||
rulesets
|
||||
screenshots
|
||||
framework.ini
|
||||
game.ini
|
||||
input.json
|
Loading…
Reference in a new issue