ClarisoftTechnologies / codakidLauncherRelease

1 stars 0 forks source link

Mac: Gradlew file doesn't have execution privileges on Mac if the project has spaces in its name. #40

Closed CodaKidGit closed 2 years ago

CodaKidGit commented 2 years ago

On some Macs, the Mac will take away execution privileges away from the gradlew file in the Minecraft templates because they were downloaded from the internet.

Run the terminal command "chmod +x gradlew" right after downloading the template and before building the project, and that should ensure the gradlew file can run.

CodaKidGit commented 2 years ago

This issue still sometimes occurs despite the fix. Not sure what causes it to occur on some macs but not others. Is the launcher waiting for the gradlew file to exist before attempting to give it execution privileges?

Edit: Found the cause. It's SPACES in Project names.