From 5e71b83296c61fb6fc577c1362b3c3996a8c1831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Mon, 3 Nov 2025 14:02:31 -0800 Subject: [PATCH] macOS: Fixed console apps. --- examples/common/entry/entry_osx.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/common/entry/entry_osx.mm b/examples/common/entry/entry_osx.mm index 9635646f1..01e5028f6 100644 --- a/examples/common/entry/entry_osx.mm +++ b/examples/common/entry/entry_osx.mm @@ -65,7 +65,8 @@ namespace entry char path[PATH_MAX]; if (CFURLGetFileSystemRepresentation(resourcesURL, TRUE, (UInt8*)path, PATH_MAX) ) { - chdir(path); + // This breaks console apps, but it's not needed on windowed. + //chdir(path); } CFRelease(resourcesURL);