Windows console scripts do not match the engine provided ones
Macksaur opened this issue · 3 comments
godot-build-scripts/build-release.sh
Line 200 in 8405945
This is an issue because it prevents things like opening projects quickly with the desired editor version by dragging and dropping project.godot onto the respective script.
In order for the console scripts to be useful beyond launching the project manager they need to support passing arguments.
In order for the console scripts to be useful beyond launching the project manager they need to support passing arguments.
This is done by passing "$@" after ${binname}.
@echo off
Godot_v3.5-stable_win64.exe
pause > nul
for context, this is what is in the official zip. I was expecting something like "%~dp0Godot_v3.5-stable_win64.exe" "%*"
Sorry for the delay. The suggestion was good, but it's not longer relevant as we replaced these batch scripts by wrapper executables.