aboutsummaryrefslogtreecommitdiff
path: root/src/app/api/plugins/runtime.rs
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/app/api/plugins/runtime.rs
parentb847e6cdb6aa6ee113cc026dcbe1fe966a0c750f (diff)
fix: keep plugins working after client-only updates (#4077)
Diffstat (limited to 'src/app/api/plugins/runtime.rs')
-rw-r--r--src/app/api/plugins/runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/api/plugins/runtime.rs b/src/app/api/plugins/runtime.rs
index b956fc98..30e2f7ae 100644
--- a/src/app/api/plugins/runtime.rs
+++ b/src/app/api/plugins/runtime.rs
@@ -46,7 +46,7 @@ impl App {
("HERDR_PLUGIN_ID".to_string(), plugin.plugin_id.clone()),
("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(),