Add script for backing up LGHub

This commit is contained in:
Manuel Thalmann 2023-06-07 20:56:40 +02:00
parent 2485ae8e47
commit 69485f30ab

View file

@ -0,0 +1,7 @@
. "$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"));
}