-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
[macOS] Re-add support for the _sc_ inside app bundle. #73429
Conversation
If there are so many caveats to get it working, it's pretty much a given that users will fail using it and will end up getting Godot files in their user paths. Maybe it would be better to add a I don't know if the plist file lets us define default command line arguments for the binary which could then be used to enforce self-contained mode (e.g. for the macOS builds on Steam and EGS)? |
It won't help with path randomization, all used data will be written to the temp folder and deleted on restart. |
It's a bit surprising that portable tools can't work on macOS. Are there no apps that do that currently? Maybe we don't know about some hack or Gatekeeper setting? :) |
See godotengine/godot-proposals#2474, which also proposed adding more ways to enable self-contained mode (such as an environment variable). |
App bundle started form Finder will ignore all user defined environment variables. |
I have done some testing and updated it with more detailed information, it's actually usable with some extra steps. Also, should work for Steam releases since Steam remove quarantine flag automatically. Summary of the current changes in this PR:
|
Thanks! |
Cherry-picked for 4.0.2. |
See #73424