Remove settings backups before restoring LGHub
This commit is contained in:
parent
bd7cf8c153
commit
796dfa1f5e
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ $null = New-Module {
|
|||
Write-Information "Installing the app";
|
||||
choco install -y --ignore-checksums lghub;
|
||||
$hubPath = Stop-LogitechGHUB;
|
||||
Write-Information "Removing existing settings";
|
||||
Remove-Item "$path/settings.*";
|
||||
Write-Information "Restoring important files";
|
||||
$context.Restore($context.SoftwareArchive($softwareName), $path);
|
||||
Write-Information "Deleting desktop icon";
|
||||
|
|
Loading…
Reference in a new issue