Skip to content

Added the ability to specify platform-specific editorPath#905

Open
ogapo wants to merge 2 commits intogodotengine:masterfrom
agbo-interactive:pr/platform-editor-path
Open

Added the ability to specify platform-specific editorPath#905
ogapo wants to merge 2 commits intogodotengine:masterfrom
agbo-interactive:pr/platform-editor-path

Conversation

@ogapo
Copy link

@ogapo ogapo commented Aug 17, 2025

  • support config of the form godotTools.editorPath.(windows|macos|linux)-(x86_64|arm64).godot(3|4)
  • match godot's buildsystem terms for familiarity
  • move all path manipulation hacks into clean_godot_path
  • tried to make sure all code that needs the editor path consistently use the util functions

BUGFIX: expand ${env:X} into the string. Previous code replaced the whole string if it contained an env tag and only matched the first one.

Per some discussion on #502 I realized this is the only thing stopping folks from using workspace config (committed to source control) for configuring prebuilt binaries in their projects given the paths are already treated as workspace relative (if they're not absolute).

ogapo added 2 commits August 16, 2025 20:54
- support config of the form `godotTools.editorPath.(windows|macos|linux)-(x86_64|arm64).godot(3|4)`
- match godot's buildsystem terms for familiarity
- expand ${env:X} into the string. Previous code replaced the whole string if it contained an env tag and only matched the first one.
- move all path manipulation hacks into clean_godot_path
- tried to make sure all code that needs the editor path consistently use the util functions
@DaelonSuzuka
Copy link
Collaborator

FYI I'm out of town until next week but I'll review this when I get back.

@ogapo
Copy link
Author

ogapo commented Sep 28, 2025

@DaelonSuzuka wondering if you have any cycles to have a look at this? Thanks!

@ogapo
Copy link
Author

ogapo commented Feb 17, 2026

@DaelonSuzuka or @Calinou wondering if there's any chance you could look at this PR? I think it's pretty much g2g

@DaelonSuzuka
Copy link
Collaborator

I've been extremely busy (new job) but I'll try to look at it this week.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants