1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

add search extensions for scons' path

This commit is contained in:
zaevi
2021-01-30 20:13:01 +08:00
parent 46de553473
commit befbfecd4d

View File

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