diff --git a/src/background/modules/tray/application.rs b/src/background/modules/tray/application.rs index 1e36d1ef..0987d518 100644 --- a/src/background/modules/tray/application.rs +++ b/src/background/modules/tray/application.rs @@ -125,7 +125,8 @@ pub fn get_tray_icons() -> Result> { let is_win10 = is_windows_10(); for element in children { let name = element.CurrentName()?.to_string(); - if !name.is_empty() && (is_win10 || element.CurrentAutomationId()? == "NotifyItemIcon") { + if !name.is_empty() && (is_win10 || element.CurrentAutomationId()? == "NotifyItemIcon") + { let registry = tray_from_registry.iter().find(|t| { let trimmed = name.trim(); t.initial_tooltip == trimmed diff --git a/src/background/utils/ahk/mocks/seelen.lib.ahk b/src/background/utils/ahk/mocks/seelen.lib.ahk index ed6557be..60350df1 100644 --- a/src/background/utils/ahk/mocks/seelen.lib.ahk +++ b/src/background/utils/ahk/mocks/seelen.lib.ahk @@ -10,7 +10,7 @@ global seelen := "SEELEN_UI_EXE_PATH" /** Close the AHK if app is crashed or forced to close */ CloseIfNotRunning() { - if ProcessExist("Seelen UI.exe") == 0 { + if ProcessExist("seelen-ui.exe") == 0 { ExitApp() } SetTimer(CloseIfNotRunning, 1000)