diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-13 23:37:26 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-13 23:37:26 +0300 |
| commit | 6075d25f470a1145aa8240e64868cdfebc1dc348 (patch) | |
| tree | ceea1c35f741fb810b6919127b9224546261943e /src/app/api/plugins/runtime.rs | |
| parent | b847e6cdb6aa6ee113cc026dcbe1fe966a0c750f (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.rs | 2 |
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(), |
