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.
2 parents 82e48f9 + 8de140b commit 42ef2f5Copy full SHA for 42ef2f5
MDVRLibrary/MDVRLibrary/MDVRHeader.h
@@ -11,7 +11,7 @@
11
12
13
#define MDVR_RAW_NAME @ "vrlibraw.bundle"
14
-#define MDVR_RAW_PATH [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: MDVR_RAW_NAME]
+#define MDVR_RAW_PATH [[[NSBundle bundleForClass: [self class]] resourcePath] stringByAppendingPathComponent: MDVR_RAW_NAME]
15
#define MDVR_RAW [NSBundle bundleWithPath: MDVR_RAW_PATH]
16
#define MULTI_SCREEN_SIZE 2
17
0 commit comments