Skip to content

fix: pass Godot's bin dir to relay for PATH resolution in GUI launches#7

Open
Walkercito wants to merge 2 commits into
lrdcxdes:mainfrom
Walkercito:main
Open

fix: pass Godot's bin dir to relay for PATH resolution in GUI launches#7
Walkercito wants to merge 2 commits into
lrdcxdes:mainfrom
Walkercito:main

Conversation

@Walkercito

@Walkercito Walkercito commented Apr 23, 2026

Copy link
Copy Markdown

Problem

When Godot is launched from a desktop entry (not a terminal), the relay process fails to find node because PATH doesn't include version managers like NVM/fnm/volta/asdf. (Issue in Linux-like Systems)

Solution

  • Pass Godot's binary directory to the relay so it prepends it to PATH
  • Enhance _which() to fall back to login+interactive shell (runs profile scripts) and scan common install locations (~/.volta/bin, ~/.asdf/shims, ~/.local/bin, NVM/fnm versions)

Testing

Tested by launching Godot from desktop entry with NVM/fnm installed in Ubuntu 24 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant