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

7 lines
266 B
PowerShell

. "$PSScriptRoot/../../Scripts/Context.ps1";
$path = "$env:LOCALAPPDATA/LGHUB";
$softwareName = "LGHub";
function Invoke-BackupLGHub([Context] $context) {
$context.Backup($path, $context.SoftwareArchive($softwareName), @("-i!settings.db*", "-i!icon_cache"));
}