From dc1eb8ff50188ba9887f4edcc0409d22363140fa Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Mon, 4 Nov 2024 12:07:38 -0800 Subject: [PATCH] fix(cli): expand list of ahk executable names fix #1103 --- komorebic/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/komorebic/src/main.rs b/komorebic/src/main.rs index 42e1ad2a..5451ac9d 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -2183,14 +2183,14 @@ Stop-Process -Name:komorebi-bar -ErrorAction SilentlyContinue if (Get-Command Get-CimInstance -ErrorAction SilentlyContinue) { (Get-CimInstance Win32_Process | Where-Object { ($_.CommandLine -like '*komorebi.ahk"') -and - ($_.Name -in @('AutoHotkey.exe', 'AutoHotkey64.exe', 'AutoHotkey32.exe')) + ($_.Name -in @('AutoHotkey.exe', 'AutoHotkey64.exe', 'AutoHotkey32.exe', 'AutoHotkeyUX.exe')) } | Select-Object -First 1) | ForEach-Object { Stop-Process -Id $_.ProcessId -ErrorAction SilentlyContinue } } else { (Get-WmiObject Win32_Process | Where-Object { ($_.CommandLine -like '*komorebi.ahk"') -and - ($_.Name -in @('AutoHotkey.exe', 'AutoHotkey64.exe', 'AutoHotkey32.exe')) + ($_.Name -in @('AutoHotkey.exe', 'AutoHotkey64.exe', 'AutoHotkey32.exe', 'AutoHotkeyUX.exe')) } | Select-Object -First 1) | ForEach-Object { Stop-Process -Id $_.ProcessId -ErrorAction SilentlyContinue }