Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac Builds are not opening on my Mac #6

Closed
dansingsinthereign opened this issue Dec 16, 2023 · 7 comments
Closed

Mac Builds are not opening on my Mac #6

dansingsinthereign opened this issue Dec 16, 2023 · 7 comments
Labels
bug Something isn't working github-actions Issue related to GitHub Actions and Workflows

Comments

@dansingsinthereign
Copy link

I've tried multiple builds (releases included) and for some reason I can't seem to open the file.
Would appreciate if you could look into it.

The application “Godot-2” can’t be opened. - is all it says.
Screen Shot 2023-12-16 at 9 37 44 pm

@limbonaut
Copy link
Owner

limbonaut commented Dec 16, 2023

I have an idea why this might be happening, but I don't have a Mac to check it out.
There is an old issue with GitHub Actions uploader not preserving executable permissions when packing things as a ZIP artifact: actions/upload-artifact#38
Since the builds are formed using GitHub Actions, those permissions might be not set, and they should be!

You can try the following steps:

  1. Unpack the ZIP file with the Mac editor.
  2. Set the "Godot.app/Contents/MacOS/Godot" file as executable. If you are comfortable with the terminal, you can do chmod +x Godot.app/Contents/MacOS/Godot.

@limbonaut limbonaut added github-actions Issue related to GitHub Actions and Workflows bug Something isn't working labels Dec 16, 2023
@limbonaut
Copy link
Owner

limbonaut added a commit that referenced this issue Dec 16, 2023
GHA: Double zip editor artifacts for MacOS and Linux (fix for #6).
@dansingsinthereign
Copy link
Author

I tried the build and it works like a charm! Excited to dig into this. Thanks

@limbonaut
Copy link
Owner

Cool. Then I'm closing it.
If you have any questions, we got a Discord now.

@dansingsinthereign
Copy link
Author

Thanks for the prompt response! The only problem now is if you're using Desktop, Documents, and Downloads folders, the permission request will keep popping up. But when I avoid those locations, no problem.

@limbonaut
Copy link
Owner

Maybe it happens because the binary is not signed. Perhaps, you could add it to some exceptions list? Don't have a Mac, sorry.

@dansingsinthereign
Copy link
Author

Yeah the weird thing is I've done the exceptions but it still keeps popping up.
The solution of saving it else where (apart from Desktop, Documents and Downloads folders) work. So at this point it's all good for me :)
Screen Shot 2023-12-17 at 9 25 28 am

limbonaut added a commit that referenced this issue Dec 29, 2023
limbonaut added a commit that referenced this issue Dec 29, 2023
limbonaut added a commit that referenced this issue Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working github-actions Issue related to GitHub Actions and Workflows
Projects
None yet
Development

No branches or pull requests

2 participants