1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

add search extensions for scons' path

(cherry picked from commit befbfecd4d)
This commit is contained in:
zaevi
2021-01-30 20:13:01 +08:00
committed by Rémi Verschelde
parent 238b8ded72
commit 56535539d4

View File

@@ -68,7 +68,7 @@ android {
File sconsExecutableFile = null
def sconsName = "scons"
def sconsExts = (org.gradle.internal.os.OperatingSystem.current().isWindows()
? [".bat", ".exe"]
? [".bat", ".cmd", ".ps1", ".exe"]
: [""])
logger.lifecycle("Looking for $sconsName executable path")
for (ext in sconsExts) {