]> repos.lx-s.de Git - winmute.git/commitdiff
Fixed chocolatey scripts
authorlx-s <lx-s@users.noreply.github.com>
Wed, 8 Jul 2026 07:31:34 +0000 (09:31 +0200)
committerlx-s <lx-s@users.noreply.github.com>
Wed, 8 Jul 2026 07:31:34 +0000 (09:31 +0200)
Dist/chocolatey/tools/chocolateybeforemodify.ps1
Dist/chocolatey/tools/chocolateyuninstall.ps1

index 88d8184cd2bf741bcc5a999627b074922612b561..0a964ec50b2255e1b81186d8aa6712cdd4b55933 100644 (file)
@@ -1 +1 @@
-Stop-Process -Name WinMute
\ No newline at end of file
+Stop-Process -Name WinMute -ErrorAction SilentlyContinue
index 2b8abdd5feb2ecb5d50ae1f177bcbb33f0d59d21..eee8a782c94f89abeb4d7ff5fca30fb66a374c42 100644 (file)
@@ -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