Add script for backing up ManiaPlanet
This commit is contained in:
parent
17aaa3ff87
commit
50dc1ad189
2 changed files with 16 additions and 0 deletions
7
scripts/Windows/Software/ManiaPlanet/Manage.ps1
Normal file
7
scripts/Windows/Software/ManiaPlanet/Manage.ps1
Normal 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`""));
|
||||
}
|
9
scripts/Windows/Software/ManiaPlanet/include.txt
Normal file
9
scripts/Windows/Software/ManiaPlanet/include.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
Actions
|
||||
Blocks
|
||||
Items
|
||||
Maps
|
||||
Media
|
||||
Modules
|
||||
Replays
|
||||
Scripts
|
||||
Skins
|
Loading…
Reference in a new issue