Add script for backing up LGHub
This commit is contained in:
parent
2485ae8e47
commit
69485f30ab
1 changed files with 7 additions and 0 deletions
7
scripts/Windows/Software/LGHub/Manage.ps1
Normal file
7
scripts/Windows/Software/LGHub/Manage.ps1
Normal 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"));
|
||||
}
|
Loading…
Reference in a new issue