diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-05 21:56:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-05 21:56:17 +0200 |
| commit | 6f57f2f62c5d2591647262caf15bc3c962b9c9f8 (patch) | |
| tree | aeece6f488a6ec55e15369151fed74f0137a69bb /src/platform/mod.rs | |
| parent | 50ce4ec2ddb8ec621a77d8773aa6df6d9e7441ff (diff) | |
fix: resolve Windows plugin pane launch paths (#3666)
* fix: resolve Windows plugin pane launch paths
refs #3024
* test: compare resolved Windows plugin probe paths
refs #3024
* test: compare resolved Windows plugin working directories
refs #3024
* test: wait for Windows plugin fixture completion
refs #3024
Diffstat (limited to 'src/platform/mod.rs')
| -rw-r--r-- | src/platform/mod.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/platform/mod.rs b/src/platform/mod.rs index 402b695d..4b49b9f7 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -43,6 +43,15 @@ pub(crate) fn prepare_paste_text_for_pty(text: String) -> String { prepare_paste_text_for_pty_platform(text) } +pub(crate) fn plugin_runtime_path(path: &std::path::Path) -> std::path::PathBuf { + plugin_runtime_path_platform(path) +} + +#[cfg(not(windows))] +fn plugin_runtime_path_platform(path: &std::path::Path) -> std::path::PathBuf { + path.to_path_buf() +} + #[cfg(not(windows))] fn prepare_paste_text_for_pty_platform(text: String) -> String { text |
