diff --git a/lime/tools/helpers/AndroidHelper.hx b/lime/tools/helpers/AndroidHelper.hx index 8cf21bd3d..832a80042 100644 --- a/lime/tools/helpers/AndroidHelper.hx +++ b/lime/tools/helpers/AndroidHelper.hx @@ -42,10 +42,10 @@ class AndroidHelper { } - if (PlatformHelper.hostPlatform != Platform.WINDOWS && targetType != "nodejs") { + if (PlatformHelper.hostPlatform != Platform.WINDOWS) { - ProcessHelper.runCommand ("", "chmod", [ "755", PathHelper.combine (projectDirectory, "gradlew.sh") ]); - ProcessHelper.runCommand (projectDirectory, "./gradlew.sh", [ task ]); + ProcessHelper.runCommand ("", "chmod", [ "755", PathHelper.combine (projectDirectory, "gradlew") ]); + ProcessHelper.runCommand (projectDirectory, "./gradlew", [ task ]); } else { @@ -401,4 +401,4 @@ class AndroidHelper { } -} \ No newline at end of file +}