diff options
Diffstat (limited to 'osdep/path-macosx.m')
-rw-r--r-- | osdep/path-macosx.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/path-macosx.m b/osdep/path-macosx.m index 73abb0d305..8a5a704e49 100644 --- a/osdep/path-macosx.m +++ b/osdep/path-macosx.m @@ -21,7 +21,7 @@ const char *mp_get_platform_path_osx(void *talloc_ctx, const char *type) { - if (strcmp(type, "osxbundle") == 0) { + if (strcmp(type, "osxbundle") == 0 && getenv("MPVBUNDLE")) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSString *path = [[NSBundle mainBundle] resourcePath]; char *res = talloc_strdup(talloc_ctx, [path UTF8String]); |