Rename powershell command

This commit is contained in:
Manuel Thalmann 2023-06-30 12:19:54 +02:00
commit 9758a6428f
16 changed files with 35 additions and 35 deletions
scripts/Windows/Software/osu!

View file

@ -5,7 +5,7 @@ $null = New-Module {
$softwareName = "osu!";
$genericConfigName = "osu!.User.cfg";
function Invoke-BackupOsu([Context] $context) {
function Backup-Osu([Context] $context) {
$archive = $context.SoftwareArchive($softwareName);
$context.Backup($path, $archive, @("-i@`"$PSScriptRoot/include.txt`""));
& 7z rn "$archive" "osu!.$env:USERNAME.cfg" $genericConfigName;