fix(sidecar): probe installed and dev paths for the binary

dpkg-deb -c on the bundled .deb shows mycelium at /usr/bin/mycelium
(no triple suffix), next to the app launcher. Our previous resolver
only looked for the suffixed dev name in resource_dir, so the
installed app could not find its sidecar.

Probe order is now: directory of current_exe, then resource_dir,
then CARGO_MANIFEST_DIR/binaries, then $PATH, with both the plain
"mycelium" name and the dev-style "mycelium-<triple>" alias
checked at each location.
This commit is contained in:
syoul
2026-04-26 01:09:44 +02:00
parent 939565b88a
commit a31a40a477
2 changed files with 47 additions and 10 deletions

View File

@@ -29,7 +29,7 @@
"bundle": {
"active": true,
"targets": ["deb", "appimage"],
"category": "Network",
"category": "Utility",
"shortDescription": "Mycelium overlay network client",
"longDescription": "Desktop GUI for the Mycelium end-to-end encrypted IPv6 overlay network.",
"icon": [