We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d764b3c commit 8769bdbCopy full SHA for 8769bdb
src/platform/osx/main.mm
@@ -318,10 +318,10 @@ int main() {
318
319
// get path to game content
320
NSBundle *bundle = [NSBundle mainBundle];
321
- NSURL *bundleURL = bundle.bundleURL;
+ NSURL *resourceURL = bundle.resourceURL;
322
contentPath = new char[1024];
323
- [bundleURL getFileSystemRepresentation:contentPath maxLength:1024];
324
- strcat(contentPath, "/Contents/Resources/");
+ [resourceURL getFileSystemRepresentation:contentPath maxLength:1024];
+ strcat(contentPath, "/");
325
326
soundInit();
327
Game::init();
0 commit comments