Open BenjaminB1991 opened 2 years ago
I confirm the issue. Another marvellous "security" feature from Apple: https://eclecticlight.co/2021/04/19/ios-apps-are-translocated-when-run-in-macos/ I will see how we can bypass.
Ohh shit, I understand... Please let me know if there is a solution in the future ;-)
it is true
Hey, you can see from the title what my problem is (on Mac). I’m sure that if you double click on the exported standalone app the CWD changes to a temporary directory beginning with " /private/var/folders/" where the “start”-blend-file (from which I want to start the game using the game actuator “start game from file”) lies temporarily. The problem is, that from this CWD I can’t make a relative path to the external blend-file (the actual game), which lies outside of the standalone app (this is important because of the licensing). I have no idea, but is there a possibility to change the CWD while running the “start”-blend-file to the directory where the “start”-blend-file is originally located (not as a temporary file)? Then I could construct the relative path to the external blend-file (the actual game)...