From: John Benediktsson Date: Thu, 10 Feb 2022 21:44:56 +0000 (-0800) Subject: vm: os-macosx.mm don't changeCurrentDirectoryPath X-Git-Tag: 0.99~1562 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=7925fc7a47089bdd1176ec48da63778cf3581dae vm: os-macosx.mm don't changeCurrentDirectoryPath --- diff --git a/vm/os-macosx.mm b/vm/os-macosx.mm index bb00856722..71c70f7a48 100644 --- a/vm/os-macosx.mm +++ b/vm/os-macosx.mm @@ -43,10 +43,6 @@ const char* default_image_path(void) { NSString* root = [path stringByDeletingLastPathComponent]; NSString* resources = [path stringByAppendingPathComponent:@"Contents/Resources"]; - if (!isatty(fileno(stdin))) { - [mgr changeCurrentDirectoryPath: root]; - } - NSString* imageInBundle = [resources stringByAppendingPathComponent:image]; NSString* imageAlongBundle = [root stringByAppendingPathComponent:image];