aboutsummaryrefslogtreecommitdiff
path: root/src/app/api/plugins/panes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/api/plugins/panes.rs')
-rw-r--r--src/app/api/plugins/panes.rs2
1 files changed, 1 insertions, 1 deletions
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(),