aboutsummaryrefslogtreecommitdiff
path: root/src/integration
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-13 23:37:26 +0300
committerGitHub <noreply@github.com>2026-09-13 23:37:26 +0300
commit6075d25f470a1145aa8240e64868cdfebc1dc348 (patch)
treeceea1c35f741fb810b6919127b9224546261943e /src/integration
parentb847e6cdb6aa6ee113cc026dcbe1fe966a0c750f (diff)
fix: keep plugins working after client-only updates (#4077)
Diffstat (limited to 'src/integration')
-rw-r--r--src/integration/env.rs2
1 files changed, 1 insertions, 1 deletions
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);
}
}