-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
Is it possible to compile to .app on macOS? Also, is there a way to hide terminal when building #574
Comments
Hi @Mariownyou, Go doesn't build an You can try building the program statically so all dependencies is contained using:
After that you can create the following directory structore for the app bundle. Here the name is
The content of
Then you can copy the executable As for hiding terminal when building, could you elaborate more on that? Is that a problem somehow? |
HI @Mariownyou, do you mean that you want to hide terminal when running the app instead of building the app? I think you could create the app bundle like above and run it. In that case it won't show the Terminal |
Thanks, I will try this :) |
Go version: latest
Go-SDL2 version:
SDL2 version:
OS: macOS
Architecture: Apple Silicon
The text was updated successfully, but these errors were encountered: