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/app/api/plugins/panes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app/api/plugins/panes.rs') diff --git a/src/app/api/plugins/panes.rs b/src/app/api/plugins/panes.rs index 8553ce91..05791886 100644 --- a/src/app/api/plugins/panes.rs +++ b/src/app/api/plugins/panes.rs @@ -260,7 +260,7 @@ impl App { entrypoint.to_string(), )); env.push(("HERDR_PLUGIN_CONTEXT_JSON".to_string(), context_json)); - if let Ok(current_exe) = std::env::current_exe() { + if let Ok(current_exe) = crate::platform::launch_executable() { env.push(( "HERDR_BIN_PATH".to_string(), current_exe.display().to_string(), -- cgit v1.2.3