From 6f57f2f62c5d2591647262caf15bc3c962b9c9f8 Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Sat, 5 Sep 2026 21:56:17 +0200 Subject: 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 --- src/app/api/plugins/manifest.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/app/api/plugins/manifest.rs') diff --git a/src/app/api/plugins/manifest.rs b/src/app/api/plugins/manifest.rs index 657f8257..fb650065 100644 --- a/src/app/api/plugins/manifest.rs +++ b/src/app/api/plugins/manifest.rs @@ -128,15 +128,13 @@ pub(crate) fn load_plugin_manifest( let manifest_path = manifest_path .canonicalize() .map_err(|err| ("plugin_manifest_not_found", err.to_string()))?; - let plugin_root = manifest_path - .parent() - .ok_or_else(|| { + let plugin_root = + crate::platform::plugin_runtime_path(manifest_path.parent().ok_or_else(|| { ( "invalid_plugin_manifest_path", "manifest path has no parent directory".to_string(), ) - })? - .to_path_buf(); + })?); let content = std::fs::read_to_string(&manifest_path) .map_err(|err| ("plugin_manifest_read_failed", err.to_string()))?; let raw: RawPluginManifest = toml::from_str(&content) -- cgit v1.2.3