Add script for backing up ManiaPlanet

This commit is contained in:
Manuel Thalmann 2023-06-07 19:40:13 +02:00
parent 17aaa3ff87
commit 50dc1ad189
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,7 @@
. "$PSScriptRoot/../../Scripts/Context.ps1";
$path = "$HOME/Documents/ManiaPlanet";
$softwareName = "ManiaPlanet";
function Invoke-BackupManiaPlanet([Context] $context) {
$context.Backup($path, $context.SoftwareArchive($softwareName), @("-i@`"$PSScriptRoot/include.txt`""));
}

View file

@ -0,0 +1,9 @@
Actions
Blocks
Items
Maps
Media
Modules
Replays
Scripts
Skins