11 lines
351 B
PowerShell
11 lines
351 B
PowerShell
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
|
|
|
$null = New-Module {
|
|
$path = "$env:PUBLIC/Documents/reWASD";
|
|
$softwareName = "reWASD";
|
|
|
|
function Backup-reWASD([Context] $context) {
|
|
Write-Host "Backing up reWASD";
|
|
$context.Backup($path, $context.SoftwareArchive($softwareName), @("-x@`"$PSScriptRoot/exclude.txt`""));
|
|
}
|
|
}
|