Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
217: check.sh: find Godot 4 executable when available as `godot` r=Bromeon a=yannick-was-taken # The Issue Some package managers (Arch Linux) install Godot 4.x as `godot` in the PATH. This is currently not correctly dealt with by check.sh, requiring the user to set GODOT4_BIN manually. # The Solution If `godot` is available, `check.sh` now inspects the version of that Godot installation, and if 4.x, accepts it gladly, removing the need to manually set GODOT4_BIN. # Detail The version check applies the regex `^4\.` to the version returned by `godot --version`. An example version (the one available in Arch Linux's community repo) is `4.0.1.stable.arch_linux`. Co-authored-by: yannick-was-taken <[email protected]>
- Loading branch information