From 6075d25f470a1145aa8240e64868cdfebc1dc348 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sun, 13 Sep 2026 23:37:26 +0300 Subject: fix: keep plugins working after client-only updates (#4077) --- src/integration/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/integration') diff --git a/src/integration/env.rs b/src/integration/env.rs index 548c1386..bec9e23b 100644 --- a/src/integration/env.rs +++ b/src/integration/env.rs @@ -27,7 +27,7 @@ pub(crate) const HERMES_HOME_ENV_VAR: &str = "HERMES_HOME"; pub(crate) fn apply_pane_base_env(cmd: &mut CommandBuilder) { cmd.env(crate::api::SOCKET_PATH_ENV_VAR, crate::api::socket_path()); - if let Ok(executable) = std::env::current_exe() { + if let Ok(executable) = crate::platform::launch_executable() { cmd.env("HERDR_BIN_PATH", executable); } } -- cgit v1.2.3