Skip to content

feat(cli): register GDevelop binary in PATH (NSIS installer + in-app command)#8796

Open
malec-palec wants to merge 1 commit into
4ian:masterfrom
PlaytikaOSS:feat/cli-path
Open

feat(cli): register GDevelop binary in PATH (NSIS installer + in-app command)#8796
malec-palec wants to merge 1 commit into
4ian:masterfrom
PlaytikaOSS:feat/cli-path

Conversation

@malec-palec

Copy link
Copy Markdown
Contributor

GDevelop ships CLI commands (--run-command ...), but they couldn't be run globally from any location. This registers the binary in PATH so the commands work anywhere.

Changes:

  • Windows: the installer now auto-registers the executable in PATH, so CLI commands can be run globally.
  • macOS: the .dmg is a plain drag-and-drop of the app bundle with no install step that could modify the system, so PATH setup can't happen at install time. Instead, an explicit command palette action "Install GDevelop CLI in PATH" is added (also works on other OSes) that creates a gdevelop symlink in /usr/local/bin via IPC. If that directory isn't writable, it prompts the user for admin rights to create the symlink.

@malec-palec malec-palec requested a review from 4ian as a code owner July 1, 2026 14:12
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