From 960726ea1f38f6ae15ac86c9bdec48ba6a5b91ff Mon Sep 17 00:00:00 2001 From: lx-s Date: Wed, 8 Jul 2026 09:31:34 +0200 Subject: [PATCH] Fixed chocolatey scripts --- Dist/chocolatey/tools/chocolateybeforemodify.ps1 | 2 +- Dist/chocolatey/tools/chocolateyuninstall.ps1 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dist/chocolatey/tools/chocolateybeforemodify.ps1 b/Dist/chocolatey/tools/chocolateybeforemodify.ps1 index 88d8184..0a964ec 100644 --- a/Dist/chocolatey/tools/chocolateybeforemodify.ps1 +++ b/Dist/chocolatey/tools/chocolateybeforemodify.ps1 @@ -1 +1 @@ -Stop-Process -Name WinMute \ No newline at end of file +Stop-Process -Name WinMute -ErrorAction SilentlyContinue diff --git a/Dist/chocolatey/tools/chocolateyuninstall.ps1 b/Dist/chocolatey/tools/chocolateyuninstall.ps1 index 2b8abdd..eee8a78 100644 --- a/Dist/chocolatey/tools/chocolateyuninstall.ps1 +++ b/Dist/chocolatey/tools/chocolateyuninstall.ps1 @@ -1,3 +1,3 @@ -Stop-Process -Name WinMute -Remove-Item "HKCU:\SOFTWARE\lx-systems\WinMute" -Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "LX-Systems WinMute" +Stop-Process -Name WinMute -ErrorAction SilentlyContinue +Remove-Item "HKCU:\SOFTWARE\lx-systems\WinMute" -Recurse -ErrorAction SilentlyContinue +Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "LX-Systems WinMute" -ErrorAction SilentlyContinue -- 2.43.0