We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8919de1 commit a7c2379Copy full SHA for a7c2379
check.sh
@@ -46,9 +46,9 @@ function findGodot() {
46
# Special case for Windows when there is a .bat file
47
# Also consider that 'cmd /c' would need 'cmd //c' (https://stackoverflow.com/q/21357813)
48
elif
49
- # Don't ask me why Godot returns 255 instead of 0
+ # Godot returns 255 for older versions, but 0 for newer ones
50
godot.bat --version
51
- [ $? -eq 255 ]
+ [[ $? -eq 255 || $? -eq 0 ]]
52
then
53
echo "Found 'godot.bat' script"
54
godotBin="godot.bat"
0 commit comments