Rename powershell command

This commit is contained in:
Manuel Thalmann 2023-06-30 12:19:54 +02:00
parent 8e4f0ccd9a
commit 9758a6428f
16 changed files with 35 additions and 35 deletions
scripts/Windows/Software/LGHub

View file

@ -4,7 +4,7 @@ $null = New-Module {
$path = "$env:LOCALAPPDATA/LGHUB";
$softwareName = "LGHub";
function Invoke-BackupLGHub([Context] $context) {
function Backup-LogitechGHUB([Context] $context) {
$hubName = "lghub.exe";
$hubPath = $(Get-Process | Where-Object { [System.IO.Path]::GetFileName($_.Path) -eq $hubName })[0].Path;