PortValhalla/scripts/Windows/Software/ManiaPlanet/Manage.ps1

7 lines
282 B
PowerShell

. "$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`""));
}