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/app/api/plugins/manifest.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/app/api/plugins/manifest.rs')
| -rw-r--r-- | src/app/api/plugins/manifest.rs | 8 |
1 files changed, 3 insertions, 5 deletions
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) |
